asztrikx / programming

Other
1 stars 0 forks source link

Tips & Tricks #7

Open asztrikx opened 4 years ago

asztrikx commented 4 years ago

delete unnecessary information from input use set or other 'slow' but easy to write structures (if it doesn't exceed time) linux functions (next_permutation) graph algorithms: ..., diameter geometry: 'görgetés' bruteforce (if it doesn't exceed time)

asztrikx commented 4 years ago

precompute

asztrikx commented 4 years ago

Arraypadding

asztrikx commented 4 years ago

round up: create two category: [a,0;a,5] and [a,5;b,0]: deal with them as integers (https://github.com/asztrikx/mester-linux/blob/master/NT%2C%20OKTV%2C%20IOI%20V%C3%A1logat%C3%B3/IOI%20V%C3%A1logat%C3%B3%202017/11.%20Biztons%C3%A1gos%20lesz%C3%A1ll%C3%A1s%20%20%20%20__-100/feladat.pdf)