# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
20502 | 2017-02-12T06:58:21 Z | 안녕하세요 투어리스트입니다 진짜에요(#49, Namnamseo) | Can polan into space? (OJUZ11_space) | C++14 | 146 ms | 17684 KB |
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int,int> pp; void read(int& x){ scanf("%d",&x); } void read(ll& x){ scanf("%lld",&x); } template<typename T,typename... Args> void read(T& a,Args&... b){ read(a); read(b...); } #define all(x) (x).begin(),(x).end() #define pb push_back int n; ll a[200010]; ll b[200010]; ll c[200010]; ll inf = (1LL<<60); void shift(int x){ c[x]=b[x]; b[x]=a[x]; a[x]=-inf; } ll dp[200010][4]; int use[200010]; #define NOA 0 #define HEA 1 #define AFA 2 #define HEC 3 int adjc[200010]; int main() { //freopen("in", "r", stdin); read(n); for(int i=1; i<=n; ++i) read(a[i], b[i], c[i]); dp[0][NOA] = 0; dp[0][HEA] = -inf; dp[0][AFA] = -inf; dp[0][HEC] = -inf; for(int i=1; i<=n; ++i){ dp[i][NOA] = max(dp[i-1][HEC], dp[i-1][NOA]) + b[i]; dp[i][HEA] = max(dp[i-1][HEC], dp[i-1][NOA]) + a[i]; dp[i][AFA] = max(dp[i-1][AFA], dp[i-1][HEA]) + b[i]; dp[i][HEC] = max(dp[i-1][AFA], dp[i-1][HEA]) + c[i]; } ll ans = max(dp[n][AFA], dp[n][HEA]); printf("%lld\n", ans); int mi=0; if(ans == dp[n][AFA]) mi=AFA; else mi=HEA; for(int i=n; 1<=i; --i){ if(mi == NOA){ use[i]=2; mi = (dp[i-1][HEC] > dp[i-1][NOA] ? HEC : NOA); } else if(mi == HEA){ use[i]=1; mi = (dp[i-1][HEC] > dp[i-1][NOA] ? HEC : NOA); } else if(mi == AFA){ use[i]=2; mi = (dp[i-1][HEA] > dp[i-1][AFA] ? HEA : AFA); } else if(mi == HEC){ use[i]=3; mi = (dp[i-1][HEA] > dp[i-1][AFA] ? HEA : AFA); } } vector<pp> av; for(int i=1; i<=n; ++i) av.pb({use[i], i}); ll test_ans = 0; sort(all(av)); for(auto X:av){ int x=X.second; if(adjc[x] == 0) assert(use[x]==1), test_ans += a[x]; if(adjc[x] == 1) assert(use[x]==2), test_ans += b[x]; if(adjc[x] == 2) assert(use[x]==3), test_ans += c[x]; ++adjc[x-1]; ++adjc[x+1]; printf("%d ", x); } return 0; }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 14524 KB | Output is correct |
2 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
3 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
4 | Correct | 0 ms | 14524 KB | Output is correct |
5 | Correct | 0 ms | 14524 KB | Output is correct |
6 | Correct | 0 ms | 14524 KB | Output is correct |
7 | Correct | 0 ms | 14524 KB | Output is correct |
8 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
9 | Correct | 0 ms | 14524 KB | Output is correct |
10 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
11 | Correct | 0 ms | 14524 KB | Output is correct |
12 | Correct | 0 ms | 14524 KB | Output is correct |
13 | Correct | 0 ms | 14524 KB | Output is correct |
14 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
15 | Correct | 0 ms | 14524 KB | Output is correct |
16 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
17 | Correct | 0 ms | 14524 KB | Output is correct |
18 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
19 | Correct | 0 ms | 14524 KB | Output is correct |
20 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
21 | Correct | 0 ms | 14524 KB | Output is correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 14524 KB | Output is correct |
2 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
3 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
4 | Correct | 0 ms | 14524 KB | Output is correct |
5 | Correct | 0 ms | 14524 KB | Output is correct |
6 | Correct | 0 ms | 14524 KB | Output is correct |
7 | Correct | 0 ms | 14524 KB | Output is correct |
8 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
9 | Correct | 0 ms | 14524 KB | Output is correct |
10 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
11 | Correct | 0 ms | 14524 KB | Output is correct |
12 | Correct | 0 ms | 14524 KB | Output is correct |
13 | Correct | 0 ms | 14524 KB | Output is correct |
14 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
15 | Correct | 0 ms | 14524 KB | Output is correct |
16 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
17 | Correct | 0 ms | 14524 KB | Output is correct |
18 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
19 | Correct | 0 ms | 14524 KB | Output is correct |
20 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
21 | Correct | 0 ms | 14524 KB | Output is correct |
22 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
23 | Correct | 0 ms | 14524 KB | Output is correct |
24 | Correct | 0 ms | 14524 KB | Output is correct |
25 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
26 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
27 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
28 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
29 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
30 | Correct | 0 ms | 14524 KB | Output is correct |
31 | Correct | 0 ms | 14524 KB | Output is correct |
32 | Correct | 0 ms | 14524 KB | Output is correct |
33 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
34 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
35 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
36 | Correct | 0 ms | 14524 KB | Output is correct |
37 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 14524 KB | Output is correct |
2 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
3 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
4 | Correct | 0 ms | 14524 KB | Output is correct |
5 | Correct | 0 ms | 14524 KB | Output is correct |
6 | Correct | 0 ms | 14524 KB | Output is correct |
7 | Correct | 0 ms | 14524 KB | Output is correct |
8 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
9 | Correct | 0 ms | 14524 KB | Output is correct |
10 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
11 | Correct | 0 ms | 14524 KB | Output is correct |
12 | Correct | 0 ms | 14524 KB | Output is correct |
13 | Correct | 0 ms | 14524 KB | Output is correct |
14 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
15 | Correct | 0 ms | 14524 KB | Output is correct |
16 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
17 | Correct | 0 ms | 14524 KB | Output is correct |
18 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
19 | Correct | 0 ms | 14524 KB | Output is correct |
20 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
21 | Correct | 0 ms | 14524 KB | Output is correct |
22 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
23 | Correct | 0 ms | 14524 KB | Output is correct |
24 | Correct | 0 ms | 14524 KB | Output is correct |
25 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
26 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
27 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
28 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
29 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
30 | Correct | 0 ms | 14524 KB | Output is correct |
31 | Correct | 0 ms | 14524 KB | Output is correct |
32 | Correct | 0 ms | 14524 KB | Output is correct |
33 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
34 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
35 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
36 | Correct | 0 ms | 14524 KB | Output is correct |
37 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
38 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
39 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
40 | Correct | 0 ms | 14524 KB | Output is correct |
41 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
42 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
43 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
44 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
45 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
46 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
47 | Correct | 0 ms | 14524 KB | Output is correct |
48 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
49 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
50 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
51 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
52 | Correct | 0 ms | 14524 KB | Output is correct |
53 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 14524 KB | Output is correct |
2 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
3 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
4 | Correct | 0 ms | 14524 KB | Output is correct |
5 | Correct | 0 ms | 14524 KB | Output is correct |
6 | Correct | 0 ms | 14524 KB | Output is correct |
7 | Correct | 0 ms | 14524 KB | Output is correct |
8 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
9 | Correct | 0 ms | 14524 KB | Output is correct |
10 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
11 | Correct | 0 ms | 14524 KB | Output is correct |
12 | Correct | 0 ms | 14524 KB | Output is correct |
13 | Correct | 0 ms | 14524 KB | Output is correct |
14 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
15 | Correct | 0 ms | 14524 KB | Output is correct |
16 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
17 | Correct | 0 ms | 14524 KB | Output is correct |
18 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
19 | Correct | 0 ms | 14524 KB | Output is correct |
20 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
21 | Correct | 0 ms | 14524 KB | Output is correct |
22 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
23 | Correct | 0 ms | 14524 KB | Output is correct |
24 | Correct | 0 ms | 14524 KB | Output is correct |
25 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
26 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
27 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
28 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
29 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
30 | Correct | 0 ms | 14524 KB | Output is correct |
31 | Correct | 0 ms | 14524 KB | Output is correct |
32 | Correct | 0 ms | 14524 KB | Output is correct |
33 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
34 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
35 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
36 | Correct | 0 ms | 14524 KB | Output is correct |
37 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
38 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
39 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
40 | Correct | 0 ms | 14524 KB | Output is correct |
41 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
42 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
43 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
44 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
45 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
46 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
47 | Correct | 0 ms | 14524 KB | Output is correct |
48 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
49 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
50 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
51 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
52 | Correct | 0 ms | 14524 KB | Output is correct |
53 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
54 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
55 | Runtime error | 6 ms | 14800 KB | Execution killed because of forbidden syscall gettid (186) |
56 | Correct | 6 ms | 14800 KB | Output is correct |
57 | Runtime error | 6 ms | 14800 KB | Execution killed because of forbidden syscall gettid (186) |
58 | Runtime error | 6 ms | 14800 KB | Execution killed because of forbidden syscall gettid (186) |
59 | Runtime error | 6 ms | 14800 KB | Execution killed because of forbidden syscall gettid (186) |
60 | Runtime error | 9 ms | 14800 KB | Execution killed because of forbidden syscall gettid (186) |
61 | Correct | 9 ms | 14800 KB | Output is correct |
62 | Runtime error | 3 ms | 14672 KB | Execution killed because of forbidden syscall gettid (186) |
63 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
64 | Runtime error | 6 ms | 14800 KB | Execution killed because of forbidden syscall gettid (186) |
65 | Runtime error | 3 ms | 14800 KB | Execution killed because of forbidden syscall gettid (186) |
66 | Runtime error | 6 ms | 14800 KB | Execution killed because of forbidden syscall gettid (186) |
67 | Runtime error | 3 ms | 14672 KB | Execution killed because of forbidden syscall gettid (186) |
68 | Runtime error | 0 ms | 14672 KB | Execution killed because of forbidden syscall gettid (186) |
69 | Correct | 6 ms | 14800 KB | Output is correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 14524 KB | Output is correct |
2 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
3 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
4 | Correct | 0 ms | 14524 KB | Output is correct |
5 | Correct | 0 ms | 14524 KB | Output is correct |
6 | Correct | 0 ms | 14524 KB | Output is correct |
7 | Correct | 0 ms | 14524 KB | Output is correct |
8 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
9 | Correct | 0 ms | 14524 KB | Output is correct |
10 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
11 | Correct | 0 ms | 14524 KB | Output is correct |
12 | Correct | 0 ms | 14524 KB | Output is correct |
13 | Correct | 0 ms | 14524 KB | Output is correct |
14 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
15 | Correct | 0 ms | 14524 KB | Output is correct |
16 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
17 | Correct | 0 ms | 14524 KB | Output is correct |
18 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
19 | Correct | 0 ms | 14524 KB | Output is correct |
20 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
21 | Correct | 0 ms | 14524 KB | Output is correct |
22 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
23 | Correct | 0 ms | 14524 KB | Output is correct |
24 | Correct | 0 ms | 14524 KB | Output is correct |
25 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
26 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
27 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
28 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
29 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
30 | Correct | 0 ms | 14524 KB | Output is correct |
31 | Correct | 0 ms | 14524 KB | Output is correct |
32 | Correct | 0 ms | 14524 KB | Output is correct |
33 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
34 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
35 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
36 | Correct | 0 ms | 14524 KB | Output is correct |
37 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
38 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
39 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
40 | Correct | 0 ms | 14524 KB | Output is correct |
41 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
42 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
43 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
44 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
45 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
46 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
47 | Correct | 0 ms | 14524 KB | Output is correct |
48 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
49 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
50 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
51 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
52 | Correct | 0 ms | 14524 KB | Output is correct |
53 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
54 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
55 | Runtime error | 6 ms | 14800 KB | Execution killed because of forbidden syscall gettid (186) |
56 | Correct | 6 ms | 14800 KB | Output is correct |
57 | Runtime error | 6 ms | 14800 KB | Execution killed because of forbidden syscall gettid (186) |
58 | Runtime error | 6 ms | 14800 KB | Execution killed because of forbidden syscall gettid (186) |
59 | Runtime error | 6 ms | 14800 KB | Execution killed because of forbidden syscall gettid (186) |
60 | Runtime error | 9 ms | 14800 KB | Execution killed because of forbidden syscall gettid (186) |
61 | Correct | 9 ms | 14800 KB | Output is correct |
62 | Runtime error | 3 ms | 14672 KB | Execution killed because of forbidden syscall gettid (186) |
63 | Runtime error | 0 ms | 14528 KB | Execution killed because of forbidden syscall gettid (186) |
64 | Runtime error | 6 ms | 14800 KB | Execution killed because of forbidden syscall gettid (186) |
65 | Runtime error | 3 ms | 14800 KB | Execution killed because of forbidden syscall gettid (186) |
66 | Runtime error | 6 ms | 14800 KB | Execution killed because of forbidden syscall gettid (186) |
67 | Runtime error | 3 ms | 14672 KB | Execution killed because of forbidden syscall gettid (186) |
68 | Runtime error | 0 ms | 14672 KB | Execution killed because of forbidden syscall gettid (186) |
69 | Correct | 6 ms | 14800 KB | Output is correct |
70 | Runtime error | 6 ms | 14800 KB | Execution killed because of forbidden syscall gettid (186) |
71 | Runtime error | 146 ms | 17684 KB | Execution killed because of forbidden syscall gettid (186) |
72 | Correct | 103 ms | 17684 KB | Output is correct |
73 | Runtime error | 119 ms | 17684 KB | Execution killed because of forbidden syscall gettid (186) |
74 | Runtime error | 106 ms | 17684 KB | Execution killed because of forbidden syscall gettid (186) |
75 | Runtime error | 126 ms | 17684 KB | Execution killed because of forbidden syscall gettid (186) |
76 | Runtime error | 146 ms | 17684 KB | Execution killed because of forbidden syscall gettid (186) |
77 | Runtime error | 46 ms | 16148 KB | Execution killed because of forbidden syscall gettid (186) |
78 | Runtime error | 139 ms | 17684 KB | Execution killed because of forbidden syscall gettid (186) |
79 | Runtime error | 139 ms | 17684 KB | Execution killed because of forbidden syscall gettid (186) |
80 | Correct | 126 ms | 17684 KB | Output is correct |
81 | Runtime error | 26 ms | 15380 KB | Execution killed because of forbidden syscall gettid (186) |
82 | Runtime error | 99 ms | 17684 KB | Execution killed because of forbidden syscall gettid (186) |
83 | Runtime error | 133 ms | 17684 KB | Execution killed because of forbidden syscall gettid (186) |
84 | Runtime error | 146 ms | 17684 KB | Execution killed because of forbidden syscall gettid (186) |
85 | Runtime error | 126 ms | 17684 KB | Execution killed because of forbidden syscall gettid (186) |
86 | Runtime error | 139 ms | 17684 KB | Execution killed because of forbidden syscall gettid (186) |
87 | Correct | 136 ms | 17684 KB | Output is correct |
88 | Runtime error | 23 ms | 14996 KB | Execution killed because of forbidden syscall gettid (186) |
89 | Runtime error | 86 ms | 16148 KB | Execution killed because of forbidden syscall gettid (186) |
90 | Runtime error | 59 ms | 16148 KB | Execution killed because of forbidden syscall gettid (186) |
91 | Runtime error | 3 ms | 14800 KB | Execution killed because of forbidden syscall gettid (186) |
92 | Runtime error | 49 ms | 16148 KB | Execution killed because of forbidden syscall gettid (186) |