# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
483212 | 2021-10-28T07:55:06 Z | blue | Parrots (IOI11_parrots) | C++17 | 3 ms | 1048 KB |
#include "encoder.h" #include "encoderlib.h" #include <iostream> using namespace std; void encode(int N, int M[]) { for(int i = 0; i < N; i++) { for(int j = 0; j < 8; j++) { if((M[i] & (1 << j)) == 0) continue; int s = 0; send(8*i + j); } } }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 616 KB | Output is correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 1004 KB | Output is correct |
2 | Correct | 2 ms | 1016 KB | Output is correct |
3 | Correct | 1 ms | 1004 KB | Output is correct |
4 | Correct | 1 ms | 1024 KB | Output is correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 1012 KB | Output is correct |
2 | Correct | 2 ms | 1008 KB | Output is correct |
3 | Correct | 1 ms | 1004 KB | Output is correct |
4 | Correct | 2 ms | 1012 KB | Output is correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 1000 KB | Output is correct |
2 | Correct | 2 ms | 1012 KB | Output is correct |
3 | Correct | 2 ms | 1028 KB | Output is correct |
4 | Correct | 3 ms | 1044 KB | Output is correct |
5 | Correct | 3 ms | 1044 KB | Output is correct |
6 | Correct | 3 ms | 1048 KB | Output is correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Partially correct | 1 ms | 1012 KB | Output is partially correct - P = 8.000000 |
2 | Partially correct | 3 ms | 1040 KB | Output is partially correct - P = 8.000000 |
3 | Incorrect | 0 ms | 624 KB | Error : Bad encoded integer |
4 | Incorrect | 0 ms | 628 KB | Error : Bad encoded integer |
5 | Incorrect | 0 ms | 488 KB | Error : Bad encoded integer |
6 | Incorrect | 0 ms | 496 KB | Error : Bad encoded integer |
7 | Incorrect | 0 ms | 624 KB | Error : Bad encoded integer |