# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
986366 | 2024-05-20T11:19:54 Z | cig32 | Ancient Machine (JOI21_ancient_machine) | C++17 | 67 ms | 10328 KB |
#include "Anna.h" #include <vector> #include "bits/stdc++.h" using namespace std; namespace { int variable_example = 0; } void Anna(int N, std::vector<char> S) { variable_example++; for(int i=0; i<N; i+=10) { int ans = 0; for(int j=i; j<min(N, i+10); j++) { ans *= 3; ans += (S[j] == 'X' ? 0 : (S[j] == 'Y' ? 1 : 2)); } for(int j=0; j<16; j++) { if(ans & (1<<j)) Send(1); else Send(0); } } } /* g++ -std=gnu++17 -O2 -fsigned-char -o grader grader.cpp Anna.cpp Bruno.cpp ./grader < input.txt */
Compilation message
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 784 KB | Output is correct |
2 | Correct | 0 ms | 780 KB | Output is correct |
3 | Correct | 0 ms | 796 KB | Output is correct |
4 | Correct | 0 ms | 784 KB | Output is correct |
5 | Correct | 0 ms | 784 KB | Output is correct |
6 | Correct | 0 ms | 784 KB | Output is correct |
7 | Correct | 0 ms | 844 KB | Output is correct |
8 | Correct | 0 ms | 784 KB | Output is correct |
9 | Correct | 0 ms | 784 KB | Output is correct |
10 | Correct | 0 ms | 796 KB | Output is correct |
11 | Correct | 0 ms | 784 KB | Output is correct |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Partially correct | 55 ms | 9364 KB | Partially correct |
2 | Partially correct | 57 ms | 9464 KB | Partially correct |
3 | Partially correct | 55 ms | 9392 KB | Partially correct |
4 | Partially correct | 58 ms | 9512 KB | Partially correct |
5 | Partially correct | 55 ms | 9400 KB | Partially correct |
6 | Partially correct | 55 ms | 9648 KB | Partially correct |
7 | Partially correct | 56 ms | 9348 KB | Partially correct |
8 | Partially correct | 57 ms | 9352 KB | Partially correct |
9 | Partially correct | 56 ms | 9972 KB | Partially correct |
10 | Partially correct | 55 ms | 9492 KB | Partially correct |
11 | Partially correct | 56 ms | 9448 KB | Partially correct |
12 | Partially correct | 64 ms | 9428 KB | Partially correct |
13 | Partially correct | 55 ms | 10328 KB | Partially correct |
14 | Partially correct | 54 ms | 9844 KB | Partially correct |
15 | Partially correct | 51 ms | 9592 KB | Partially correct |
16 | Partially correct | 53 ms | 10132 KB | Partially correct |
17 | Partially correct | 61 ms | 9184 KB | Partially correct |
18 | Partially correct | 55 ms | 9472 KB | Partially correct |
19 | Partially correct | 57 ms | 9092 KB | Partially correct |
20 | Partially correct | 49 ms | 10084 KB | Partially correct |
21 | Partially correct | 49 ms | 10116 KB | Partially correct |
22 | Partially correct | 55 ms | 9144 KB | Partially correct |
23 | Partially correct | 53 ms | 9664 KB | Partially correct |
24 | Partially correct | 57 ms | 9524 KB | Partially correct |
25 | Partially correct | 56 ms | 9168 KB | Partially correct |
26 | Partially correct | 54 ms | 9144 KB | Partially correct |
27 | Partially correct | 54 ms | 9120 KB | Partially correct |
28 | Partially correct | 66 ms | 9184 KB | Partially correct |
29 | Partially correct | 67 ms | 9208 KB | Partially correct |
30 | Partially correct | 55 ms | 9256 KB | Partially correct |
31 | Partially correct | 55 ms | 9120 KB | Partially correct |
32 | Partially correct | 60 ms | 9588 KB | Partially correct |
33 | Partially correct | 57 ms | 9644 KB | Partially correct |