I love the sense of humour in this sample test!!! Tell us your hack inputs. Mine was:
2
hacked
hack
№ | Пользователь | Рейтинг |
---|---|---|
1 | tourist | 4009 |
2 | jiangly | 3823 |
3 | Benq | 3738 |
4 | Radewoosh | 3633 |
5 | jqdai0815 | 3620 |
6 | orzdevinwang | 3529 |
7 | ecnerwala | 3446 |
8 | Um_nik | 3396 |
9 | ksun48 | 3390 |
10 | gamegame | 3386 |
Страны | Города | Организации | Всё → |
№ | Пользователь | Вклад |
---|---|---|
1 | cry | 167 |
2 | Um_nik | 163 |
3 | maomao90 | 162 |
3 | atcoder_official | 162 |
5 | adamant | 159 |
6 | -is-this-fft- | 158 |
7 | awoo | 157 |
8 | TheScrasse | 154 |
9 | Dominater069 | 153 |
9 | nor | 153 |
I love the sense of humour in this sample test!!! Tell us your hack inputs. Mine was:
2
hacked
hack
Название |
---|
In our local contest we recently had a problem with sample tests like this: From Russian it's translated as: problem e is not that simple
obvious idea wont get AC
spoilers arent good
I wish I sometimes clicked on "Preview" button before sending comment. Anyway, done can't be undone.
Hmm.
How hard was problem E?
Time limit: 2 sec
Memory limit: 256 MB
Jury wants to present an analysis of contest to its participants. In contest there were n problem rated by difficulty from 1 to 5. Jury knows that an analysis makes participants tired, so they want to minimise their total tiredness after an editorial. Let's call tiredness from an analysis of problem rounded down halfsum of tiredness from analysis of previous problem and difficulty of this problem. More formal, t(i)=floor((t(i-1)+difficulty(i))/2). Now, jury wants you to put problems in such order that tiredness of participants after analysis of the last problem would be minimal.
Input: On the first line there is n (n<=100) On the second line there are n numbers indicating difficulty(i) (1<=difficulty(i)<=5)
Output: Expected sequence of problems in analysis
As you can see, problem isn't that easy, but sample tests were like that: So there were about 30 participants who just sorted given sequence despite warning in problem that I mentioned in my previous comment.
P.S. You can submit your solution here if you have one: http://contest.uni-smr.ac.ru/en/problemset/5962/ (site isn't fully translated, but "submit" is in English. You also need to register)