# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
124369 | 2019-07-03T08:44:35 Z | RafikHachana | 이상한 기계 (APIO19_strange_device) | C++14 | 5000 ms | 524292 KB |
#include<bits/stdc++.h> using namespace std; #define int long long set<pair<int,int> > s; main() { int a,b,n; cin>>n>>a>>b; while(n--) { int l,r; cin>>l>>r; for(int i=l;i<=r;i++) { s.insert({(i+(i/b))%a,i%b}); } } cout<<s.size()<<endl; }
Compilation message
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 252 KB | Output is correct |
2 | Correct | 98 ms | 12380 KB | Output is correct |
3 | Correct | 142 ms | 17884 KB | Output is correct |
4 | Correct | 4 ms | 860 KB | Output is correct |
5 | Correct | 2 ms | 376 KB | Output is correct |
6 | Correct | 2 ms | 376 KB | Output is correct |
7 | Correct | 4 ms | 504 KB | Output is correct |
8 | Correct | 3 ms | 376 KB | Output is correct |
9 | Correct | 12 ms | 1288 KB | Output is correct |
10 | Correct | 2 ms | 348 KB | Output is correct |
11 | Correct | 2 ms | 256 KB | Output is correct |
12 | Correct | 2 ms | 256 KB | Output is correct |
13 | Correct | 2 ms | 252 KB | Output is correct |
14 | Correct | 2 ms | 376 KB | Output is correct |
15 | Correct | 64 ms | 6964 KB | Output is correct |
16 | Correct | 68 ms | 6756 KB | Output is correct |
17 | Correct | 310 ms | 6668 KB | Output is correct |
18 | Correct | 2 ms | 376 KB | Output is correct |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 2 ms | 376 KB | Output is correct |
2 | Runtime error | 3926 ms | 524288 KB | Execution killed with signal 9 (could be triggered by violating memory limits) |
3 | Halted | 0 ms | 0 KB | - |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 2 ms | 348 KB | Output is correct |
2 | Correct | 205 ms | 32336 KB | Output is correct |
3 | Correct | 226 ms | 31992 KB | Output is correct |
4 | Correct | 210 ms | 30712 KB | Output is correct |
5 | Execution timed out | 5066 ms | 62524 KB | Time limit exceeded |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 2 ms | 256 KB | Output is correct |
2 | Correct | 2843 ms | 62944 KB | Output is correct |
3 | Runtime error | 2943 ms | 524292 KB | Execution killed with signal 9 (could be triggered by violating memory limits) |
4 | Halted | 0 ms | 0 KB | - |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 2 ms | 256 KB | Output is correct |
2 | Correct | 2843 ms | 62944 KB | Output is correct |
3 | Runtime error | 2943 ms | 524292 KB | Execution killed with signal 9 (could be triggered by violating memory limits) |
4 | Halted | 0 ms | 0 KB | - |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 2 ms | 256 KB | Output is correct |
2 | Correct | 2843 ms | 62944 KB | Output is correct |
3 | Runtime error | 2943 ms | 524292 KB | Execution killed with signal 9 (could be triggered by violating memory limits) |
4 | Halted | 0 ms | 0 KB | - |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 2 ms | 256 KB | Output is correct |
2 | Runtime error | 1999 ms | 524292 KB | Execution killed with signal 9 (could be triggered by violating memory limits) |
3 | Halted | 0 ms | 0 KB | - |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 252 KB | Output is correct |
2 | Correct | 98 ms | 12380 KB | Output is correct |
3 | Correct | 142 ms | 17884 KB | Output is correct |
4 | Correct | 4 ms | 860 KB | Output is correct |
5 | Correct | 2 ms | 376 KB | Output is correct |
6 | Correct | 2 ms | 376 KB | Output is correct |
7 | Correct | 4 ms | 504 KB | Output is correct |
8 | Correct | 3 ms | 376 KB | Output is correct |
9 | Correct | 12 ms | 1288 KB | Output is correct |
10 | Correct | 2 ms | 348 KB | Output is correct |
11 | Correct | 2 ms | 256 KB | Output is correct |
12 | Correct | 2 ms | 256 KB | Output is correct |
13 | Correct | 2 ms | 252 KB | Output is correct |
14 | Correct | 2 ms | 376 KB | Output is correct |
15 | Correct | 64 ms | 6964 KB | Output is correct |
16 | Correct | 68 ms | 6756 KB | Output is correct |
17 | Correct | 310 ms | 6668 KB | Output is correct |
18 | Correct | 2 ms | 376 KB | Output is correct |
19 | Correct | 2 ms | 376 KB | Output is correct |
20 | Runtime error | 3926 ms | 524288 KB | Execution killed with signal 9 (could be triggered by violating memory limits) |
21 | Halted | 0 ms | 0 KB | - |