Nov 082013
Questionnaire Feedbacks
For this year’s ICPC, we distributed questionnaire to all teams after the contest to gather some feedbacks about the problems. Here I present some of the results.
Q: Please rank these ten problems with number from 1 (easy) to 5 (hard).
Note: for this question, I only consider feedbacks from those who solved the problem.
Problem | Solved | Understand the problem | Find a solution | Implement the solution |
A | 55 | 1.38 ± 1.03 | 1.85 ± 0.88 | 1.64 ± 0.98 |
B | 2 | 2.00 ± 0.50 | 3.50 ± 1.00 | 3.00 ± 1.00 |
C | 30 | 1.60 ± 1.08 | 1.97 ± 0.95 | 2.13 ± 1.28 |
D | 48 | 1.33 ± 0.94 | 1.67 ± 0.75 | 2.08 ± 1.19 |
E | 0 | n/a | n/a | n/a |
F | 48 | 1.48 ± 1.15 | 2.04 ± 0.79 | 2.19 ± 1.03 |
G | 12 | 1.75 ± 1.44 | 2.58 ± 0.72 | 2.00 ± 1.08 |
H | 8 | 2.00 ± 1.41 | 3.00 ± 0.87 | 2.63 ± 1.58 |
I | 8 | 2.25 ± 1.54 | 2.88 ± 1.39 | 2.38 ± 1.41 |
J | 2 | 2.50 ± 1.00 | 4.00 ± 0.50 | 5.00 ± 0.00 |
Q: Which problem did you like the BEST/LEAST of all?
A | B | C | D | E | F | G | H | I | J | |
Like BEST | 11 | 1 | 5 | 13 | 2 | 9 | 7 | 4 | 7 | 1 |
Like LEAST | 2 | 3 | 2 | 1 | 1 | 13 | 3 | 5 | 2 | 28 |
It appears almost half of the teams dislike problem J (well, it’s expected given the complexity of the problem). A quarter of the teams dislike problem F but at the same time one-sixth like it (?maybe this is caused by the weak test data on problem F). Problem D and A seems attract quite a number of fans.
are you sure there isn’t mod operation ?
and this : j = j + 1, why it isn’t j = j-1 ?
Ah, you’re right, it should be j =j – 1 (updated).
MOD operation is not needed, What we really need is whether a two substrings have a same hash value or not, not the hash value itself. There are only addition and multiplication operators, so overflowing the result doesn’t matter.
^that comment above is for pasti pas
Halo Mr. Suhendry.
Saya ingin sekali bisa berkompetisi di ACM ICPC. Saya Mahasiswa tingkat 2 di salah satu perguruan tinggi di bandung. Tapi skill koding saya tidak terlalu bagus. algoritma sorting saja masih bingung. Gimana ya kiat nya untuk belajar algoritma yg baik dan benar agar bisa nanti suatu saat ke ACM ICPC?
How to determine which prime number should be used? I tried some prime numbers and the result is not as expected.
(Problem F). Just use large prime number (larger is better, its chance to collide is smaller). I used 1000003 and it’s fine.
I have implemented it and submitted on Live Archive, but got WA 😀
Is there something wrong with my implementation? Could you please check it? http://pastebin.com/ECJX9yEa
I didn’t read your code, but it failed the first sample input: PASTIPAS.
Yes and it works if I do MOD operation, but still WA on Live Archive. Does your solution with above algorithm still work on LA? Maybe you/others have added more test cases to break that hash function? Or my implementation wrong?
I’m the one who send the data to LA and I’m pretty sure LA’s admin was quite busy to do any changes on the dataset.
BTW, I’ve just noticed an error in F’s pseudocode. There is one line which is wrong. Try to figure that out! 🙂
hint: pay attention to the rolling hash (when you do the multiplication with prime number); you might want to check other resources on rolling hash.
^ problem F Pasti Pas!
Problem H can be solved by Dynamic Programming,here I find two states,one is index of the current question,another is wrong answers used/left so far, and then minimize the answer. But this solution does not work,though sample test case gives correct output. I saw another boolean state in some accepted codes in HUST, which tries both minimizing and maximizing. Can you please explain why another state is needed here?