# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
813378 | 2023-08-07T16:35:53 Z | Andrey | 최후의 만찬 (IOI12_supper) | C++14 | 2500 ms | 4316 KB |
#include<bits/stdc++.h> #include "advisor.h" using namespace std; void ComputeAdvice(int *c, int n, int k, int m) { vector<int> br(n); for(int i = 0; i < n; i++) { br[c[i]]++; } for(int i = 0; i < n; i++) { for(int j = 0; j < br[i]; j++) { WriteAdvice(1); } WriteAdvice(0); } }
Compilation message
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 508 KB | Output isn't correct - not an optimal way |
2 | Halted | 0 ms | 0 KB | - |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Incorrect | 299 ms | 992 KB | Output isn't correct - not an optimal way |
2 | Halted | 0 ms | 0 KB | - |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Execution timed out | 2596 ms | 3536 KB | Time limit exceeded |
2 | Halted | 0 ms | 0 KB | - |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Incorrect | 50 ms | 700 KB | Output isn't correct - not an optimal way |
2 | Halted | 0 ms | 0 KB | - |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Execution timed out | 2565 ms | 4064 KB | Time limit exceeded |
2 | Execution timed out | 2550 ms | 4288 KB | Time limit exceeded |
3 | Execution timed out | 2506 ms | 4276 KB | Time limit exceeded |
4 | Execution timed out | 2596 ms | 4316 KB | Time limit exceeded |
5 | Execution timed out | 2508 ms | 4188 KB | Time limit exceeded |
6 | Execution timed out | 2594 ms | 4252 KB | Time limit exceeded |
7 | Execution timed out | 2602 ms | 4232 KB | Time limit exceeded |
8 | Execution timed out | 2588 ms | 4220 KB | Time limit exceeded |
9 | Execution timed out | 2574 ms | 4236 KB | Time limit exceeded |
10 | Execution timed out | 2598 ms | 4280 KB | Time limit exceeded |