Submission #20448

# Submission time Handle Problem Language Result Execution time Memory
20448 2017-02-11T15:03:14 Z I_forgot_password(#50, mAng0) 초음속철도 (OJUZ11_rail) C++
0 / 100
236 ms 36748 KB
#include<bits/stdc++.h>
#define je 1000000007
#define pp 2
using namespace std;

pair<int,int> train[200001];
vector<int> cnt;
map<int,int> dict;
long long sum[1048576];
int div2[1048576];
int can;
int gae=0;

long long jegop(int left){
    if(!left) return 1;
    else if(left & 1){
        long long res = jegop(left / 2);
        return (res * res * 2) % je;
    }else{
        long long res = jegop(left / 2);
        return res * res % je;
    }
}


void segPlus(int place,long long what,int ss,int ee,int idx){
    //printf("segPlus: %d %lld %d %d %d ?%lld %d\n",place,what,ss,ee,idx,sum[idx],div2[idx]);
    if(div2[idx]){
        sum[idx] = sum[idx] * jegop(je - 1 - div2[idx]) % je;
    }
    sum[idx] = (sum[idx] + what) % je;
    if(ss==ee){
        div2[idx] = 0; return;
    }
    div2[idx*2] += div2[idx]; div2[idx*2+1] += div2[idx]; div2[idx] = 0;
    int mid = (ss+ee)/2;
    if(place <= mid){
        segPlus(place,what,ss,mid,idx*2);
    }else{
        segPlus(place,what,mid+1,ee,idx*2+1);
    }
}
long long getsum(int from,int to,int ss,int ee,int idx){
    //printf("getsum: %d %d %d %d %d ?%lld %d\n",from,to,ss,ee,idx,sum[idx],div2[idx]);
    long long retval,new_minus;
    if(div2[idx]){
        sum[idx] = sum[idx] * jegop(je - 1 - div2[idx]) % je;
    }
    if(ss!=ee){
        div2[idx*2] += div2[idx];
        div2[idx*2+1] += div2[idx];
        div2[idx] = 0;
    }else{
        div2[idx] = 0;
    }
    if(from == ss && to == ee){
        div2[idx]++;
        return sum[idx];
    }else{
        int mid = (ss+ee)/2;
        if(to <= mid){
            retval = getsum(from,to,ss,mid,idx*2);
        }else if(from > mid){
            retval = getsum(from,to,mid+1,ee,idx*2+1);
        }else{
            retval = (getsum(from,mid,ss,mid,idx*2) + getsum(mid+1,to,mid+1,ee,idx*2+1)) % je;
        }
        if(retval%2) new_minus = (retval + je) / 2;
        else new_minus = (retval) / 2;
        sum[idx] = (sum[idx] + je - new_minus) % je;
        return retval;
    }
}

int main(){
    int n,m;
    scanf("%d%d",&n,&m);
    for(int i=0;i<m;i++){
        scanf("%d%d",&(train[i].first),&(train[i].second));
        cnt.push_back(train[i].first);
        cnt.push_back(train[i].second);
    }
    cnt.push_back(-1);
    sort(cnt.begin(),cnt.end());
    int prv = -1;
    if(cnt[1] != 1 || cnt[(int)cnt.size() - 1] != n){
        printf("0");
        return 0;
    }
    for(int i=1;i<cnt.size();i++){
        if(cnt[i-1] != cnt[i]){
            dict[cnt[i]] = gae++;
        }
    }
    sort(train,train+m);
    can = 0;
    segPlus(0,1,0,pp-1,1);
    for(int j=0;j<m;j++){
        int from = dict[train[j].first];
        int to = dict[train[j].second];
        //printf("%d, %d\n",from,to);
        if(can < from){
            printf("%d",0);
            return 0;
        }
        can = max(can,to);
        long long retval = getsum(from,to-1,0,pp-1,1);
        if(retval%2==1) retval = (retval + je) / 2;
        else retval = retval / 2;
        //printf("%lld\n",retval);
        segPlus(to,retval,0,pp-1,1);
    }
    segPlus(gae-1,0,0,pp-1,1);
    if(can == gae-1) printf("%lld",getsum(gae-1,gae-1,0,pp-1,1) * jegop(m) % je);
    else printf("0");
}

Compilation message

rail.cpp: In function 'int main()':
rail.cpp:90:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=1;i<cnt.size();i++){
                  ^
rail.cpp:85:9: warning: unused variable 'prv' [-Wunused-variable]
     int prv = -1;
         ^
rail.cpp:77:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d%d",&n,&m);
                        ^
rail.cpp:79:59: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d%d",&(train[i].first),&(train[i].second));
                                                           ^
# Verdict Execution time Memory Grader output
1 Correct 0 ms 15876 KB Output is correct
2 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
3 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
4 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
5 Correct 0 ms 15876 KB Output is correct
6 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
7 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
8 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
9 Correct 0 ms 15876 KB Output is correct
10 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
11 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
12 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
13 Correct 0 ms 15876 KB Output is correct
14 Correct 0 ms 15876 KB Output is correct
15 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
16 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
17 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
18 Correct 0 ms 15876 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 0 ms 15876 KB Output is correct
2 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
3 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
4 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
5 Correct 0 ms 15876 KB Output is correct
6 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
7 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
8 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
9 Correct 0 ms 15876 KB Output is correct
10 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
11 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
12 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
13 Correct 0 ms 15876 KB Output is correct
14 Correct 0 ms 15876 KB Output is correct
15 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
16 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
17 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
18 Correct 0 ms 15876 KB Output is correct
19 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
20 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
21 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
22 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
23 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
24 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
25 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
26 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
27 Correct 0 ms 15876 KB Output is correct
28 Correct 0 ms 15876 KB Output is correct
29 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
30 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
31 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
32 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
33 Correct 0 ms 15876 KB Output is correct
34 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
35 Correct 0 ms 15876 KB Output is correct
# Verdict Execution time Memory Grader output
1 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
2 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
3 Correct 0 ms 15876 KB Output is correct
4 Runtime error 0 ms 16016 KB Execution killed with signal 11 (could be triggered by violating memory limits)
5 Runtime error 103 ms 20512 KB Execution killed with signal 11 (could be triggered by violating memory limits)
6 Runtime error 209 ms 35164 KB Execution killed with signal 11 (could be triggered by violating memory limits)
7 Runtime error 199 ms 34900 KB Execution killed with signal 11 (could be triggered by violating memory limits)
8 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
9 Runtime error 199 ms 33844 KB Execution killed with signal 11 (could be triggered by violating memory limits)
10 Runtime error 203 ms 34636 KB Execution killed with signal 11 (could be triggered by violating memory limits)
11 Runtime error 53 ms 18564 KB Execution killed with signal 11 (could be triggered by violating memory limits)
12 Runtime error 219 ms 35164 KB Execution killed with signal 11 (could be triggered by violating memory limits)
13 Runtime error 189 ms 34768 KB Execution killed with signal 11 (could be triggered by violating memory limits)
14 Runtime error 86 ms 19032 KB Execution killed with signal 11 (could be triggered by violating memory limits)
15 Runtime error 193 ms 27376 KB Execution killed with signal 11 (could be triggered by violating memory limits)
16 Runtime error 93 ms 19032 KB Execution killed with signal 11 (could be triggered by violating memory limits)
17 Runtime error 196 ms 35164 KB Execution killed with signal 11 (could be triggered by violating memory limits)
18 Runtime error 216 ms 35164 KB Execution killed with signal 11 (could be triggered by violating memory limits)
19 Runtime error 189 ms 32656 KB Execution killed with signal 11 (could be triggered by violating memory limits)
# Verdict Execution time Memory Grader output
1 Correct 0 ms 15876 KB Output is correct
2 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
3 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
4 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
5 Correct 0 ms 15876 KB Output is correct
6 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
7 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
8 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
9 Correct 0 ms 15876 KB Output is correct
10 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
11 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
12 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
13 Correct 0 ms 15876 KB Output is correct
14 Correct 0 ms 15876 KB Output is correct
15 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
16 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
17 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
18 Correct 0 ms 15876 KB Output is correct
19 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
20 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
21 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
22 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
23 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
24 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
25 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
26 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
27 Correct 0 ms 15876 KB Output is correct
28 Correct 0 ms 15876 KB Output is correct
29 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
30 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
31 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
32 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
33 Correct 0 ms 15876 KB Output is correct
34 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
35 Correct 0 ms 15876 KB Output is correct
36 Runtime error 3 ms 16412 KB Execution killed with signal 11 (could be triggered by violating memory limits)
37 Runtime error 3 ms 16280 KB Execution killed with signal 11 (could be triggered by violating memory limits)
38 Runtime error 3 ms 16148 KB Execution killed with signal 11 (could be triggered by violating memory limits)
39 Runtime error 3 ms 16016 KB Execution killed with signal 11 (could be triggered by violating memory limits)
40 Runtime error 3 ms 16148 KB Execution killed with signal 11 (could be triggered by violating memory limits)
41 Correct 3 ms 16016 KB Output is correct
42 Runtime error 0 ms 16412 KB Execution killed with signal 11 (could be triggered by violating memory limits)
43 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
44 Runtime error 3 ms 16280 KB Execution killed with signal 11 (could be triggered by violating memory limits)
45 Correct 3 ms 16016 KB Output is correct
46 Runtime error 3 ms 16148 KB Execution killed with signal 11 (could be triggered by violating memory limits)
47 Runtime error 3 ms 16148 KB Execution killed with signal 11 (could be triggered by violating memory limits)
48 Runtime error 3 ms 16148 KB Execution killed with signal 11 (could be triggered by violating memory limits)
49 Runtime error 3 ms 16016 KB Execution killed with signal 11 (could be triggered by violating memory limits)
50 Runtime error 3 ms 16016 KB Execution killed with signal 11 (could be triggered by violating memory limits)
51 Runtime error 3 ms 16016 KB Execution killed with signal 11 (could be triggered by violating memory limits)
52 Runtime error 0 ms 16008 KB Execution killed with signal 11 (could be triggered by violating memory limits)
53 Correct 3 ms 16016 KB Output is correct
54 Runtime error 3 ms 16016 KB Execution killed with signal 11 (could be triggered by violating memory limits)
55 Correct 3 ms 16016 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 0 ms 15876 KB Output is correct
2 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
3 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
4 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
5 Correct 0 ms 15876 KB Output is correct
6 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
7 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
8 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
9 Correct 0 ms 15876 KB Output is correct
10 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
11 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
12 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
13 Correct 0 ms 15876 KB Output is correct
14 Correct 0 ms 15876 KB Output is correct
15 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
16 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
17 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
18 Correct 0 ms 15876 KB Output is correct
19 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
20 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
21 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
22 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
23 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
24 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
25 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
26 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
27 Correct 0 ms 15876 KB Output is correct
28 Correct 0 ms 15876 KB Output is correct
29 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
30 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
31 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
32 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
33 Correct 0 ms 15876 KB Output is correct
34 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
35 Correct 0 ms 15876 KB Output is correct
36 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
37 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
38 Correct 0 ms 15876 KB Output is correct
39 Runtime error 0 ms 16016 KB Execution killed with signal 11 (could be triggered by violating memory limits)
40 Runtime error 103 ms 20512 KB Execution killed with signal 11 (could be triggered by violating memory limits)
41 Runtime error 209 ms 35164 KB Execution killed with signal 11 (could be triggered by violating memory limits)
42 Runtime error 199 ms 34900 KB Execution killed with signal 11 (could be triggered by violating memory limits)
43 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
44 Runtime error 199 ms 33844 KB Execution killed with signal 11 (could be triggered by violating memory limits)
45 Runtime error 203 ms 34636 KB Execution killed with signal 11 (could be triggered by violating memory limits)
46 Runtime error 53 ms 18564 KB Execution killed with signal 11 (could be triggered by violating memory limits)
47 Runtime error 219 ms 35164 KB Execution killed with signal 11 (could be triggered by violating memory limits)
48 Runtime error 189 ms 34768 KB Execution killed with signal 11 (could be triggered by violating memory limits)
49 Runtime error 86 ms 19032 KB Execution killed with signal 11 (could be triggered by violating memory limits)
50 Runtime error 193 ms 27376 KB Execution killed with signal 11 (could be triggered by violating memory limits)
51 Runtime error 93 ms 19032 KB Execution killed with signal 11 (could be triggered by violating memory limits)
52 Runtime error 196 ms 35164 KB Execution killed with signal 11 (could be triggered by violating memory limits)
53 Runtime error 216 ms 35164 KB Execution killed with signal 11 (could be triggered by violating memory limits)
54 Runtime error 189 ms 32656 KB Execution killed with signal 11 (could be triggered by violating memory limits)
55 Runtime error 3 ms 16412 KB Execution killed with signal 11 (could be triggered by violating memory limits)
56 Runtime error 3 ms 16280 KB Execution killed with signal 11 (could be triggered by violating memory limits)
57 Runtime error 3 ms 16148 KB Execution killed with signal 11 (could be triggered by violating memory limits)
58 Runtime error 3 ms 16016 KB Execution killed with signal 11 (could be triggered by violating memory limits)
59 Runtime error 3 ms 16148 KB Execution killed with signal 11 (could be triggered by violating memory limits)
60 Correct 3 ms 16016 KB Output is correct
61 Runtime error 0 ms 16412 KB Execution killed with signal 11 (could be triggered by violating memory limits)
62 Runtime error 0 ms 15876 KB Execution killed with signal 11 (could be triggered by violating memory limits)
63 Runtime error 3 ms 16280 KB Execution killed with signal 11 (could be triggered by violating memory limits)
64 Correct 3 ms 16016 KB Output is correct
65 Runtime error 3 ms 16148 KB Execution killed with signal 11 (could be triggered by violating memory limits)
66 Runtime error 3 ms 16148 KB Execution killed with signal 11 (could be triggered by violating memory limits)
67 Runtime error 3 ms 16148 KB Execution killed with signal 11 (could be triggered by violating memory limits)
68 Runtime error 3 ms 16016 KB Execution killed with signal 11 (could be triggered by violating memory limits)
69 Runtime error 3 ms 16016 KB Execution killed with signal 11 (could be triggered by violating memory limits)
70 Runtime error 3 ms 16016 KB Execution killed with signal 11 (could be triggered by violating memory limits)
71 Runtime error 0 ms 16008 KB Execution killed with signal 11 (could be triggered by violating memory limits)
72 Correct 3 ms 16016 KB Output is correct
73 Runtime error 3 ms 16016 KB Execution killed with signal 11 (could be triggered by violating memory limits)
74 Correct 3 ms 16016 KB Output is correct
75 Runtime error 216 ms 36748 KB Execution killed with signal 11 (could be triggered by violating memory limits)
76 Runtime error 139 ms 30280 KB Execution killed with signal 11 (could be triggered by violating memory limits)
77 Runtime error 93 ms 19032 KB Execution killed with signal 11 (could be triggered by violating memory limits)
78 Runtime error 63 ms 19032 KB Execution killed with signal 11 (could be triggered by violating memory limits)
79 Correct 99 ms 19032 KB Output is correct
80 Runtime error 236 ms 36748 KB Execution killed with signal 11 (could be triggered by violating memory limits)
81 Runtime error 3 ms 16148 KB Execution killed with signal 11 (could be triggered by violating memory limits)
82 Runtime error 196 ms 34636 KB Execution killed with signal 11 (could be triggered by violating memory limits)
83 Correct 113 ms 19032 KB Output is correct
84 Runtime error 186 ms 31996 KB Execution killed with signal 11 (could be triggered by violating memory limits)
85 Runtime error 173 ms 27244 KB Execution killed with signal 11 (could be triggered by violating memory limits)
86 Runtime error 183 ms 27376 KB Execution killed with signal 11 (could be triggered by violating memory limits)
87 Runtime error 73 ms 19032 KB Execution killed with signal 11 (could be triggered by violating memory limits)
88 Runtime error 83 ms 19032 KB Execution killed with signal 11 (could be triggered by violating memory limits)
89 Runtime error 226 ms 36748 KB Execution killed with signal 11 (could be triggered by violating memory limits)
90 Runtime error 233 ms 36748 KB Execution killed with signal 11 (could be triggered by violating memory limits)
91 Runtime error 219 ms 36748 KB Execution killed with signal 11 (could be triggered by violating memory limits)
92 Correct 109 ms 19032 KB Output is correct
93 Runtime error 169 ms 27244 KB Execution killed with signal 11 (could be triggered by violating memory limits)
94 Runtime error 216 ms 36748 KB Execution killed with signal 11 (could be triggered by violating memory limits)
95 Runtime error 226 ms 36748 KB Execution killed with signal 11 (could be triggered by violating memory limits)