# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
241340 | 2020-06-24T04:29:35 Z | clairvoyant | 뒤집기 (IOI16_reverse) | C++14 | 52 ms | 5880 KB |
#include <vector> #include <algorithm> using namespace std; vector<long long int>reverse(vector<long long int>a){ for(int i = 0; i < a.size()/2; i++){ long long temp = a[i]; a[i] = a[a.size()-i-1]; a[a.size()-i-1] = temp; } return a; }
Compilation message
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 5 ms | 256 KB | Output is correct |
2 | Correct | 5 ms | 384 KB | Output is correct |
3 | Correct | 5 ms | 256 KB | Output is correct |
4 | Correct | 5 ms | 128 KB | Output is correct |
5 | Correct | 5 ms | 384 KB | Output is correct |
6 | Correct | 5 ms | 384 KB | Output is correct |
7 | Correct | 7 ms | 512 KB | Output is correct |
8 | Correct | 9 ms | 896 KB | Output is correct |
9 | Correct | 21 ms | 2048 KB | Output is correct |
10 | Correct | 52 ms | 5880 KB | Output is correct |