Task: | Blocks |
Sender: | Kaeaepae |
Submission time: | 2016-09-27 16:38:18 +0300 |
Language: | C++ |
Status: | READY |
Result: | WRONG ANSWER |
test | verdict | time | |
---|---|---|---|
#1 | WRONG ANSWER | 0.05 s | details |
#2 | WRONG ANSWER | 0.06 s | details |
#3 | WRONG ANSWER | 0.07 s | details |
#4 | WRONG ANSWER | 0.07 s | details |
#5 | WRONG ANSWER | 0.06 s | details |
#6 | WRONG ANSWER | 0.06 s | details |
#7 | WRONG ANSWER | 0.05 s | details |
#8 | WRONG ANSWER | 0.06 s | details |
#9 | WRONG ANSWER | 0.05 s | details |
#10 | WRONG ANSWER | 0.05 s | details |
#11 | WRONG ANSWER | 0.05 s | details |
#12 | WRONG ANSWER | 0.06 s | details |
#13 | WRONG ANSWER | 0.06 s | details |
#14 | WRONG ANSWER | 0.05 s | details |
#15 | WRONG ANSWER | 0.06 s | details |
#16 | WRONG ANSWER | 0.06 s | details |
#17 | WRONG ANSWER | 0.04 s | details |
#18 | WRONG ANSWER | 0.06 s | details |
#19 | WRONG ANSWER | 0.06 s | details |
#20 | WRONG ANSWER | 0.06 s | details |
#21 | WRONG ANSWER | 0.04 s | details |
#22 | WRONG ANSWER | 0.06 s | details |
#23 | WRONG ANSWER | 0.05 s | details |
#24 | WRONG ANSWER | 0.07 s | details |
#25 | WRONG ANSWER | 0.06 s | details |
#26 | WRONG ANSWER | 0.06 s | details |
#27 | WRONG ANSWER | 0.06 s | details |
#28 | WRONG ANSWER | 0.06 s | details |
#29 | WRONG ANSWER | 0.06 s | details |
#30 | WRONG ANSWER | 0.06 s | details |
Code
#include <iostream> #include <cassert> #include <map> #include <tuple> #include <bitset> using namespace std; int main() { cin.sync_with_stdio(false); string s; cin >> s; int mer = 0, atat = 0, gcgc = 0; for (char c: s) { int base = (c == 'A' ? 1 : c == 'T' ? 2 : c == 'G' ? 3 : c == 'C' ? 4 : 0); mer = ((mer << 3) + base) & 07777; atat += (mer == 01212); gcgc += (mer == 03434); } cout << ( atat > gcgc ? "Kaaleppi" : atat < gcgc ? "Maija" : "not sure" ) << "\n"; }
Test details
Test 1
Verdict: WRONG ANSWER
input |
---|
5 1 2 3 4 5 |
correct output |
---|
5 |
user output |
---|
not sure |
Test 2
Verdict: WRONG ANSWER
input |
---|
3 2000 1999 1998 |
correct output |
---|
1 |
user output |
---|
not sure |
Test 3
Verdict: WRONG ANSWER
input |
---|
6 888947812 255632128 310470259 ... |
correct output |
---|
3 |
user output |
---|
not sure |
Test 4
Verdict: WRONG ANSWER
input |
---|
4 617082542 842820809 770021951 ... |
correct output |
---|
3 |
user output |
---|
not sure |
Test 5
Verdict: WRONG ANSWER
input |
---|
8 714278219 784227423 409319089 ... |
correct output |
---|
2 |
user output |
---|
not sure |
Test 6
Verdict: WRONG ANSWER
input |
---|
4 323548620 170481297 889562264 ... |
correct output |
---|
2 |
user output |
---|
not sure |
Test 7
Verdict: WRONG ANSWER
input |
---|
1 476683151 |
correct output |
---|
1 |
user output |
---|
not sure |
Test 8
Verdict: WRONG ANSWER
input |
---|
2 629714376 581892911 |
correct output |
---|
1 |
user output |
---|
not sure |
Test 9
Verdict: WRONG ANSWER
input |
---|
6 523198668 325464999 948349338 ... |
correct output |
---|
2 |
user output |
---|
not sure |
Test 10
Verdict: WRONG ANSWER
input |
---|
6 822568264 254647499 434272192 ... |
correct output |
---|
4 |
user output |
---|
not sure |
Test 11
Verdict: WRONG ANSWER
input |
---|
433 1 2 3 4 5 6 7 8 9 10 11 12 13 ... |
correct output |
---|
433 |
user output |
---|
not sure |
Test 12
Verdict: WRONG ANSWER
input |
---|
554 2000 1999 1998 1997 1996 1995 ... |
correct output |
---|
1 |
user output |
---|
not sure |
Test 13
Verdict: WRONG ANSWER
input |
---|
630 882563506 195731667 430976596 ... |
correct output |
---|
49 |
user output |
---|
not sure |
Test 14
Verdict: WRONG ANSWER
input |
---|
335 488807609 178110205 512054465 ... |
correct output |
---|
33 |
user output |
---|
not sure |
Test 15
Verdict: WRONG ANSWER
input |
---|
120 174580714 91110553 34218342 94... |
correct output |
---|
20 |
user output |
---|
not sure |
Test 16
Verdict: WRONG ANSWER
input |
---|
593 34099449 759420722 786869557 3... |
correct output |
---|
41 |
user output |
---|
not sure |
Test 17
Verdict: WRONG ANSWER
input |
---|
97 393681127 117745478 576906971 ... |
correct output |
---|
16 |
user output |
---|
not sure |
Test 18
Verdict: WRONG ANSWER
input |
---|
780 596776372 178963013 27288301 3... |
correct output |
---|
56 |
user output |
---|
not sure |
Test 19
Verdict: WRONG ANSWER
input |
---|
769 927650514 16537731 669979959 5... |
correct output |
---|
53 |
user output |
---|
not sure |
Test 20
Verdict: WRONG ANSWER
input |
---|
253 939795028 916965543 553106661 ... |
correct output |
---|
26 |
user output |
---|
not sure |
Test 21
Verdict: WRONG ANSWER
input |
---|
1000 1 2 3 4 5 6 7 8 9 10 11 12 13 ... |
correct output |
---|
1000 |
user output |
---|
not sure |
Test 22
Verdict: WRONG ANSWER
input |
---|
1000 2000 1999 1998 1997 1996 1995 ... |
correct output |
---|
1 |
user output |
---|
not sure |
Test 23
Verdict: WRONG ANSWER
input |
---|
1000 645404707 986143091 145611946 ... |
correct output |
---|
58 |
user output |
---|
not sure |
Test 24
Verdict: WRONG ANSWER
input |
---|
1000 341727972 757181419 834201886 ... |
correct output |
---|
56 |
user output |
---|
not sure |
Test 25
Verdict: WRONG ANSWER
input |
---|
1000 140851913 102736547 916629519 ... |
correct output |
---|
55 |
user output |
---|
not sure |
Test 26
Verdict: WRONG ANSWER
input |
---|
1000 32986064 260267921 970027433 9... |
correct output |
---|
64 |
user output |
---|
not sure |
Test 27
Verdict: WRONG ANSWER
input |
---|
1000 164970760 259631575 668929944 ... |
correct output |
---|
54 |
user output |
---|
not sure |
Test 28
Verdict: WRONG ANSWER
input |
---|
1000 259307867 630607450 309297823 ... |
correct output |
---|
56 |
user output |
---|
not sure |
Test 29
Verdict: WRONG ANSWER
input |
---|
1000 543833880 613702937 41531951 2... |
correct output |
---|
58 |
user output |
---|
not sure |
Test 30
Verdict: WRONG ANSWER
input |
---|
1000 652483687 571130341 552217195 ... |
correct output |
---|
59 |
user output |
---|
not sure |