Submission #1088795

# Submission time Handle Problem Language Result Execution time Memory
1088795 2024-09-15T06:08:02 Z BABY_GANGSTER Painting Walls (APIO20_paint) C++14
27 / 100
128 ms 288852 KB
#pragma GCC optimize("Ofast,unroll-loops")
#include<bits/stdc++.h>
//#define int long long
//#define ll long long
#define down cout<<'\n';
#define debug cout<<" cucuucucuuu",down
#define NHP     ios_base::sync_with_stdio(0);cout.tie(0);cin.tie(0);
#define modwwe  int t;cin>>t; while(t--)
#define bit(i,j) (i>>j&1)
#define sobit(a) __builtin_popcountll(a)
#define task "test"
#define fin(x) freopen(x".inp","r",stdin)
#define fou(x) freopen(x".ans","w",stdout)
#define pb push_back
#define checktime   cerr << (double)clock() / CLOCKS_PER_SEC * 1000  << " ms";
using namespace std;
#define getchar_unlocked getchar

inline int scan()
{
    char c = getchar_unlocked();
    int x = 0;
    while(c<'0'||c>'9')
    {
        c=getchar_unlocked();
    }
    while(c>='0'&&c<='9')
    {
        x=(x<<1)+(x<<3)+c-'0';
        c=getchar_unlocked();
    }
    return x;
}

void phongbeo();
const int inf=1e9;
const int mod2=1e9+9;
const int  mod1=998244353;
struct icd
{
    long double a;
    int b;
};
struct ib
{
    int a;
    int b;
};
struct ic
{
    int a,b,c;
};
struct id
{
    int a,b,c,d;
};
struct ie
{
    int a,b,c,d,e;

};

int n,m,s1,s2,s4,s3,sf,k,s5,s6,mx,s7,s8,s9,mx2,res,dem2=0,dem=0,s33,dem3,dem4,l,r,mid,l2,r2,center;
int  i,s10,s12;
int kk;
int el=29;

vector<int> v[100001];
int dp[100001][701];
int a[100001];
bool b[100001];
int c[100001];
vector<int> v2;
int minimumInstructions(int _n, int _m, int _K, vector<int> _C, vector<int> _A, vector<vector<int>> _B)
{
    n=_n;
    m=_m;
    k=_K;
    for(int i=1; i<=n; i++)
        a[i]=_C[i-1];
    for(int j=1; j<=m; j++)
    {
        l=_A[j-1];
        for(int i=1; i<=l; i++)
        {
            r=_B[j-1][i-1];
            v[r].pb(j);
        }
    }
    for(int i=1; i<=n; i++)
    {
        l=0;
        dem=0;

        for(auto x:v[a[i]])
        {
            dp[i][dem]=i;
            if(i!=1)
            {
                while(l<v[a[i-1]].size()&&v[a[i-1]][l]<x)
                {
                    l++;
                }
                if(l>=1)
                    if(v[a[i-1]][l-1]==x-1)
                        dp[i][dem]=min(dp[i][dem],dp[i-1][l-1]);
                s8=v[a[i-1]].size()-1;
                if(x==1&&v[a[i-1]].back()==m)dp[i][dem]=min(dp[i][dem],dp[i-1][s8]);
            }
            if(dp[i][dem]<=i-m+1)
                b[i-m+1]=1;
            dem++;
        }

    }
    s5=-m;
    s4=0;
    for(int i=1; i<=n; i++)
    {
        c[i]+=c[i-1];
        if(b[i])s5=i;
        if(c[i]==0&&s5+m<=i)
        {
            return -1;
        }
        else if(c[i]==0) s4++,c[i]=1,c[s5+m]--;
    }
    return s4;
}
/*
main()
{
cout<<minimumInstructions(8, 3, 5, {3, 3, 1, 3, 4, 4, 2, 2}, {3, 2, 2}, {{0, 1, 2}, {2, 3}, {3, 4}});
}*/

Compilation message

paint.cpp: In function 'int minimumInstructions(int, int, int, std::vector<int>, std::vector<int>, std::vector<std::vector<int> >)':
paint.cpp:100:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  100 |                 while(l<v[a[i-1]].size()&&v[a[i-1]][l]<x)
      |                       ~^~~~~~~~~~~~~~~~~
# Verdict Execution time Memory Grader output
1 Correct 2 ms 2652 KB Output is correct
2 Correct 1 ms 2652 KB Output is correct
3 Correct 1 ms 2652 KB Output is correct
4 Correct 3 ms 2652 KB Output is correct
5 Correct 2 ms 2652 KB Output is correct
6 Correct 2 ms 2652 KB Output is correct
7 Correct 2 ms 4076 KB Output is correct
8 Correct 2 ms 4188 KB Output is correct
9 Correct 2 ms 3952 KB Output is correct
10 Correct 2 ms 4188 KB Output is correct
11 Correct 2 ms 4188 KB Output is correct
12 Correct 2 ms 4188 KB Output is correct
13 Correct 2 ms 4188 KB Output is correct
14 Correct 2 ms 4184 KB Output is correct
15 Correct 2 ms 4188 KB Output is correct
16 Correct 2 ms 4188 KB Output is correct
17 Correct 2 ms 4188 KB Output is correct
18 Correct 2 ms 4188 KB Output is correct
19 Correct 2 ms 2904 KB Output is correct
20 Correct 2 ms 2652 KB Output is correct
21 Correct 2 ms 2652 KB Output is correct
22 Correct 18 ms 8636 KB Output is correct
23 Correct 16 ms 8540 KB Output is correct
24 Correct 19 ms 8540 KB Output is correct
25 Correct 20 ms 57948 KB Output is correct
26 Correct 20 ms 58016 KB Output is correct
27 Correct 20 ms 57948 KB Output is correct
28 Correct 20 ms 57724 KB Output is correct
29 Correct 20 ms 57764 KB Output is correct
30 Correct 21 ms 57940 KB Output is correct
31 Correct 26 ms 58972 KB Output is correct
32 Correct 23 ms 58960 KB Output is correct
33 Correct 24 ms 58972 KB Output is correct
34 Correct 24 ms 58968 KB Output is correct
35 Correct 29 ms 59072 KB Output is correct
36 Correct 23 ms 58968 KB Output is correct
37 Correct 32 ms 62552 KB Output is correct
38 Correct 33 ms 62548 KB Output is correct
39 Correct 32 ms 62572 KB Output is correct
40 Correct 80 ms 253232 KB Output is correct
41 Correct 49 ms 159572 KB Output is correct
42 Correct 82 ms 274256 KB Output is correct
43 Correct 55 ms 183124 KB Output is correct
44 Correct 52 ms 166480 KB Output is correct
45 Correct 83 ms 277996 KB Output is correct
46 Correct 100 ms 250196 KB Output is correct
47 Correct 71 ms 161108 KB Output is correct
48 Correct 71 ms 164108 KB Output is correct
49 Correct 77 ms 177852 KB Output is correct
50 Correct 82 ms 203016 KB Output is correct
51 Correct 85 ms 211312 KB Output is correct
52 Correct 91 ms 278820 KB Output is correct
53 Correct 87 ms 278864 KB Output is correct
54 Correct 87 ms 278608 KB Output is correct
55 Correct 94 ms 278400 KB Output is correct
56 Correct 93 ms 278612 KB Output is correct
57 Correct 91 ms 278608 KB Output is correct
58 Correct 128 ms 288852 KB Output is correct
59 Correct 120 ms 288848 KB Output is correct
60 Correct 125 ms 288828 KB Output is correct
61 Correct 120 ms 288852 KB Output is correct
62 Correct 122 ms 288768 KB Output is correct
63 Correct 121 ms 288808 KB Output is correct
64 Correct 120 ms 287572 KB Output is correct
65 Correct 121 ms 287704 KB Output is correct
66 Correct 114 ms 287568 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 2 ms 2652 KB Output is correct
2 Correct 1 ms 2652 KB Output is correct
3 Correct 1 ms 2652 KB Output is correct
4 Correct 3 ms 2652 KB Output is correct
5 Correct 2 ms 2652 KB Output is correct
6 Correct 2 ms 2652 KB Output is correct
7 Correct 2 ms 4076 KB Output is correct
8 Correct 2 ms 4188 KB Output is correct
9 Correct 2 ms 3952 KB Output is correct
10 Correct 2 ms 4188 KB Output is correct
11 Correct 2 ms 4188 KB Output is correct
12 Correct 2 ms 4188 KB Output is correct
13 Correct 2 ms 4188 KB Output is correct
14 Correct 2 ms 4184 KB Output is correct
15 Correct 2 ms 4188 KB Output is correct
16 Correct 2 ms 4188 KB Output is correct
17 Correct 2 ms 4188 KB Output is correct
18 Correct 2 ms 4188 KB Output is correct
19 Correct 2 ms 2904 KB Output is correct
20 Correct 2 ms 2652 KB Output is correct
21 Correct 2 ms 2652 KB Output is correct
22 Correct 3 ms 2652 KB Output is correct
23 Correct 1 ms 2652 KB Output is correct
24 Correct 1 ms 2652 KB Output is correct
25 Correct 2 ms 2652 KB Output is correct
26 Correct 2 ms 2652 KB Output is correct
27 Correct 2 ms 3676 KB Output is correct
28 Correct 2 ms 3676 KB Output is correct
29 Correct 2 ms 3304 KB Output is correct
30 Correct 2 ms 3676 KB Output is correct
31 Correct 2 ms 3820 KB Output is correct
32 Correct 2 ms 3676 KB Output is correct
33 Correct 2 ms 3932 KB Output is correct
34 Correct 2 ms 3932 KB Output is correct
35 Correct 2 ms 3416 KB Output is correct
36 Correct 2 ms 3672 KB Output is correct
37 Correct 2 ms 3676 KB Output is correct
38 Correct 2 ms 2652 KB Output is correct
39 Correct 2 ms 3420 KB Output is correct
40 Correct 2 ms 2648 KB Output is correct
41 Correct 2 ms 3676 KB Output is correct
42 Correct 2 ms 2648 KB Output is correct
43 Correct 3 ms 3676 KB Output is correct
44 Correct 2 ms 4188 KB Output is correct
45 Correct 2 ms 4188 KB Output is correct
46 Correct 2 ms 4188 KB Output is correct
47 Correct 2 ms 4184 KB Output is correct
48 Correct 2 ms 4188 KB Output is correct
49 Correct 2 ms 4188 KB Output is correct
50 Correct 2 ms 4188 KB Output is correct
51 Correct 2 ms 4188 KB Output is correct
52 Correct 2 ms 3984 KB Output is correct
53 Correct 2 ms 4188 KB Output is correct
54 Correct 2 ms 4188 KB Output is correct
55 Correct 2 ms 4188 KB Output is correct
56 Correct 1 ms 2652 KB Output is correct
57 Correct 2 ms 4188 KB Output is correct
58 Correct 2 ms 2648 KB Output is correct
59 Correct 3 ms 4188 KB Output is correct
60 Correct 2 ms 2804 KB Output is correct
61 Correct 3 ms 4188 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 3 ms 2652 KB Output is correct
2 Correct 1 ms 2652 KB Output is correct
3 Correct 2 ms 2652 KB Output is correct
4 Correct 1 ms 2652 KB Output is correct
5 Correct 1 ms 2652 KB Output is correct
6 Correct 3 ms 2652 KB Output is correct
7 Correct 2 ms 2652 KB Output is correct
8 Correct 2 ms 2652 KB Output is correct
9 Correct 2 ms 4076 KB Output is correct
10 Correct 2 ms 4188 KB Output is correct
11 Correct 2 ms 3952 KB Output is correct
12 Correct 2 ms 4188 KB Output is correct
13 Correct 2 ms 4188 KB Output is correct
14 Correct 2 ms 4188 KB Output is correct
15 Correct 2 ms 4188 KB Output is correct
16 Correct 2 ms 4184 KB Output is correct
17 Correct 2 ms 4188 KB Output is correct
18 Correct 2 ms 4188 KB Output is correct
19 Correct 2 ms 4188 KB Output is correct
20 Correct 2 ms 4188 KB Output is correct
21 Correct 2 ms 2904 KB Output is correct
22 Correct 2 ms 2652 KB Output is correct
23 Correct 2 ms 2652 KB Output is correct
24 Correct 18 ms 8636 KB Output is correct
25 Correct 16 ms 8540 KB Output is correct
26 Correct 19 ms 8540 KB Output is correct
27 Correct 1 ms 2652 KB Output is correct
28 Correct 2 ms 2652 KB Output is correct
29 Correct 2 ms 2652 KB Output is correct
30 Correct 2 ms 3676 KB Output is correct
31 Correct 2 ms 3676 KB Output is correct
32 Correct 2 ms 3304 KB Output is correct
33 Correct 2 ms 3676 KB Output is correct
34 Correct 2 ms 3820 KB Output is correct
35 Correct 2 ms 3676 KB Output is correct
36 Correct 2 ms 3932 KB Output is correct
37 Correct 2 ms 3932 KB Output is correct
38 Correct 2 ms 3416 KB Output is correct
39 Correct 2 ms 3672 KB Output is correct
40 Correct 2 ms 3676 KB Output is correct
41 Correct 2 ms 2652 KB Output is correct
42 Correct 2 ms 3420 KB Output is correct
43 Correct 2 ms 2648 KB Output is correct
44 Correct 2 ms 3676 KB Output is correct
45 Correct 2 ms 2648 KB Output is correct
46 Correct 3 ms 3676 KB Output is correct
47 Correct 2 ms 4188 KB Output is correct
48 Correct 2 ms 4188 KB Output is correct
49 Correct 2 ms 4188 KB Output is correct
50 Correct 2 ms 4184 KB Output is correct
51 Correct 2 ms 4188 KB Output is correct
52 Correct 2 ms 4188 KB Output is correct
53 Correct 2 ms 4188 KB Output is correct
54 Correct 2 ms 4188 KB Output is correct
55 Correct 2 ms 3984 KB Output is correct
56 Correct 2 ms 4188 KB Output is correct
57 Correct 2 ms 4188 KB Output is correct
58 Correct 2 ms 4188 KB Output is correct
59 Correct 1 ms 2652 KB Output is correct
60 Correct 2 ms 4188 KB Output is correct
61 Correct 2 ms 2648 KB Output is correct
62 Correct 3 ms 4188 KB Output is correct
63 Correct 2 ms 2804 KB Output is correct
64 Correct 3 ms 4188 KB Output is correct
65 Correct 2 ms 3320 KB Output is correct
66 Correct 2 ms 3932 KB Output is correct
67 Correct 2 ms 3932 KB Output is correct
68 Correct 2 ms 3980 KB Output is correct
69 Correct 2 ms 3928 KB Output is correct
70 Correct 3 ms 4188 KB Output is correct
71 Correct 3 ms 4188 KB Output is correct
72 Correct 3 ms 4088 KB Output is correct
73 Correct 2 ms 3928 KB Output is correct
74 Correct 3 ms 3824 KB Output is correct
75 Correct 2 ms 3932 KB Output is correct
76 Runtime error 22 ms 12300 KB Execution killed with signal 11
77 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 3 ms 2652 KB Output is correct
2 Correct 1 ms 2652 KB Output is correct
3 Correct 2 ms 2652 KB Output is correct
4 Correct 1 ms 2652 KB Output is correct
5 Correct 1 ms 2652 KB Output is correct
6 Correct 3 ms 2652 KB Output is correct
7 Correct 2 ms 2652 KB Output is correct
8 Correct 2 ms 2652 KB Output is correct
9 Correct 2 ms 4076 KB Output is correct
10 Correct 2 ms 4188 KB Output is correct
11 Correct 2 ms 3952 KB Output is correct
12 Correct 2 ms 4188 KB Output is correct
13 Correct 2 ms 4188 KB Output is correct
14 Correct 2 ms 4188 KB Output is correct
15 Correct 2 ms 4188 KB Output is correct
16 Correct 2 ms 4184 KB Output is correct
17 Correct 2 ms 4188 KB Output is correct
18 Correct 2 ms 4188 KB Output is correct
19 Correct 2 ms 4188 KB Output is correct
20 Correct 2 ms 4188 KB Output is correct
21 Correct 2 ms 2904 KB Output is correct
22 Correct 2 ms 2652 KB Output is correct
23 Correct 2 ms 2652 KB Output is correct
24 Correct 18 ms 8636 KB Output is correct
25 Correct 16 ms 8540 KB Output is correct
26 Correct 19 ms 8540 KB Output is correct
27 Correct 20 ms 57948 KB Output is correct
28 Correct 20 ms 58016 KB Output is correct
29 Correct 20 ms 57948 KB Output is correct
30 Correct 20 ms 57724 KB Output is correct
31 Correct 20 ms 57764 KB Output is correct
32 Correct 21 ms 57940 KB Output is correct
33 Correct 26 ms 58972 KB Output is correct
34 Correct 23 ms 58960 KB Output is correct
35 Correct 24 ms 58972 KB Output is correct
36 Correct 24 ms 58968 KB Output is correct
37 Correct 29 ms 59072 KB Output is correct
38 Correct 23 ms 58968 KB Output is correct
39 Correct 32 ms 62552 KB Output is correct
40 Correct 33 ms 62548 KB Output is correct
41 Correct 32 ms 62572 KB Output is correct
42 Correct 1 ms 2652 KB Output is correct
43 Correct 2 ms 2652 KB Output is correct
44 Correct 2 ms 2652 KB Output is correct
45 Correct 2 ms 3676 KB Output is correct
46 Correct 2 ms 3676 KB Output is correct
47 Correct 2 ms 3304 KB Output is correct
48 Correct 2 ms 3676 KB Output is correct
49 Correct 2 ms 3820 KB Output is correct
50 Correct 2 ms 3676 KB Output is correct
51 Correct 2 ms 3932 KB Output is correct
52 Correct 2 ms 3932 KB Output is correct
53 Correct 2 ms 3416 KB Output is correct
54 Correct 2 ms 3672 KB Output is correct
55 Correct 2 ms 3676 KB Output is correct
56 Correct 2 ms 2652 KB Output is correct
57 Correct 2 ms 3420 KB Output is correct
58 Correct 2 ms 2648 KB Output is correct
59 Correct 2 ms 3676 KB Output is correct
60 Correct 2 ms 2648 KB Output is correct
61 Correct 3 ms 3676 KB Output is correct
62 Correct 2 ms 4188 KB Output is correct
63 Correct 2 ms 4188 KB Output is correct
64 Correct 2 ms 4188 KB Output is correct
65 Correct 2 ms 4184 KB Output is correct
66 Correct 2 ms 4188 KB Output is correct
67 Correct 2 ms 4188 KB Output is correct
68 Correct 2 ms 4188 KB Output is correct
69 Correct 2 ms 4188 KB Output is correct
70 Correct 2 ms 3984 KB Output is correct
71 Correct 2 ms 4188 KB Output is correct
72 Correct 2 ms 4188 KB Output is correct
73 Correct 2 ms 4188 KB Output is correct
74 Correct 1 ms 2652 KB Output is correct
75 Correct 2 ms 4188 KB Output is correct
76 Correct 2 ms 2648 KB Output is correct
77 Correct 3 ms 4188 KB Output is correct
78 Correct 2 ms 2804 KB Output is correct
79 Correct 3 ms 4188 KB Output is correct
80 Correct 2 ms 3320 KB Output is correct
81 Correct 2 ms 3932 KB Output is correct
82 Correct 2 ms 3932 KB Output is correct
83 Correct 2 ms 3980 KB Output is correct
84 Correct 2 ms 3928 KB Output is correct
85 Correct 3 ms 4188 KB Output is correct
86 Correct 3 ms 4188 KB Output is correct
87 Correct 3 ms 4088 KB Output is correct
88 Correct 2 ms 3928 KB Output is correct
89 Correct 3 ms 3824 KB Output is correct
90 Correct 2 ms 3932 KB Output is correct
91 Runtime error 22 ms 12300 KB Execution killed with signal 11
92 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 3 ms 2652 KB Output is correct
2 Correct 1 ms 2652 KB Output is correct
3 Correct 2 ms 2652 KB Output is correct
4 Correct 1 ms 2652 KB Output is correct
5 Correct 1 ms 2652 KB Output is correct
6 Correct 3 ms 2652 KB Output is correct
7 Correct 2 ms 2652 KB Output is correct
8 Correct 2 ms 2652 KB Output is correct
9 Correct 2 ms 4076 KB Output is correct
10 Correct 2 ms 4188 KB Output is correct
11 Correct 2 ms 3952 KB Output is correct
12 Correct 2 ms 4188 KB Output is correct
13 Correct 2 ms 4188 KB Output is correct
14 Correct 2 ms 4188 KB Output is correct
15 Correct 2 ms 4188 KB Output is correct
16 Correct 2 ms 4184 KB Output is correct
17 Correct 2 ms 4188 KB Output is correct
18 Correct 2 ms 4188 KB Output is correct
19 Correct 2 ms 4188 KB Output is correct
20 Correct 2 ms 4188 KB Output is correct
21 Correct 2 ms 2904 KB Output is correct
22 Correct 2 ms 2652 KB Output is correct
23 Correct 2 ms 2652 KB Output is correct
24 Correct 18 ms 8636 KB Output is correct
25 Correct 16 ms 8540 KB Output is correct
26 Correct 19 ms 8540 KB Output is correct
27 Correct 20 ms 57948 KB Output is correct
28 Correct 20 ms 58016 KB Output is correct
29 Correct 20 ms 57948 KB Output is correct
30 Correct 20 ms 57724 KB Output is correct
31 Correct 20 ms 57764 KB Output is correct
32 Correct 21 ms 57940 KB Output is correct
33 Correct 26 ms 58972 KB Output is correct
34 Correct 23 ms 58960 KB Output is correct
35 Correct 24 ms 58972 KB Output is correct
36 Correct 24 ms 58968 KB Output is correct
37 Correct 29 ms 59072 KB Output is correct
38 Correct 23 ms 58968 KB Output is correct
39 Correct 32 ms 62552 KB Output is correct
40 Correct 33 ms 62548 KB Output is correct
41 Correct 32 ms 62572 KB Output is correct
42 Correct 80 ms 253232 KB Output is correct
43 Correct 49 ms 159572 KB Output is correct
44 Correct 82 ms 274256 KB Output is correct
45 Correct 55 ms 183124 KB Output is correct
46 Correct 52 ms 166480 KB Output is correct
47 Correct 83 ms 277996 KB Output is correct
48 Correct 100 ms 250196 KB Output is correct
49 Correct 71 ms 161108 KB Output is correct
50 Correct 71 ms 164108 KB Output is correct
51 Correct 77 ms 177852 KB Output is correct
52 Correct 82 ms 203016 KB Output is correct
53 Correct 85 ms 211312 KB Output is correct
54 Correct 91 ms 278820 KB Output is correct
55 Correct 87 ms 278864 KB Output is correct
56 Correct 87 ms 278608 KB Output is correct
57 Correct 94 ms 278400 KB Output is correct
58 Correct 93 ms 278612 KB Output is correct
59 Correct 91 ms 278608 KB Output is correct
60 Correct 128 ms 288852 KB Output is correct
61 Correct 120 ms 288848 KB Output is correct
62 Correct 125 ms 288828 KB Output is correct
63 Correct 120 ms 288852 KB Output is correct
64 Correct 122 ms 288768 KB Output is correct
65 Correct 121 ms 288808 KB Output is correct
66 Correct 120 ms 287572 KB Output is correct
67 Correct 121 ms 287704 KB Output is correct
68 Correct 114 ms 287568 KB Output is correct
69 Correct 1 ms 2652 KB Output is correct
70 Correct 2 ms 2652 KB Output is correct
71 Correct 2 ms 2652 KB Output is correct
72 Correct 2 ms 3676 KB Output is correct
73 Correct 2 ms 3676 KB Output is correct
74 Correct 2 ms 3304 KB Output is correct
75 Correct 2 ms 3676 KB Output is correct
76 Correct 2 ms 3820 KB Output is correct
77 Correct 2 ms 3676 KB Output is correct
78 Correct 2 ms 3932 KB Output is correct
79 Correct 2 ms 3932 KB Output is correct
80 Correct 2 ms 3416 KB Output is correct
81 Correct 2 ms 3672 KB Output is correct
82 Correct 2 ms 3676 KB Output is correct
83 Correct 2 ms 2652 KB Output is correct
84 Correct 2 ms 3420 KB Output is correct
85 Correct 2 ms 2648 KB Output is correct
86 Correct 2 ms 3676 KB Output is correct
87 Correct 2 ms 2648 KB Output is correct
88 Correct 3 ms 3676 KB Output is correct
89 Correct 2 ms 4188 KB Output is correct
90 Correct 2 ms 4188 KB Output is correct
91 Correct 2 ms 4188 KB Output is correct
92 Correct 2 ms 4184 KB Output is correct
93 Correct 2 ms 4188 KB Output is correct
94 Correct 2 ms 4188 KB Output is correct
95 Correct 2 ms 4188 KB Output is correct
96 Correct 2 ms 4188 KB Output is correct
97 Correct 2 ms 3984 KB Output is correct
98 Correct 2 ms 4188 KB Output is correct
99 Correct 2 ms 4188 KB Output is correct
100 Correct 2 ms 4188 KB Output is correct
101 Correct 1 ms 2652 KB Output is correct
102 Correct 2 ms 4188 KB Output is correct
103 Correct 2 ms 2648 KB Output is correct
104 Correct 3 ms 4188 KB Output is correct
105 Correct 2 ms 2804 KB Output is correct
106 Correct 3 ms 4188 KB Output is correct
107 Correct 2 ms 3320 KB Output is correct
108 Correct 2 ms 3932 KB Output is correct
109 Correct 2 ms 3932 KB Output is correct
110 Correct 2 ms 3980 KB Output is correct
111 Correct 2 ms 3928 KB Output is correct
112 Correct 3 ms 4188 KB Output is correct
113 Correct 3 ms 4188 KB Output is correct
114 Correct 3 ms 4088 KB Output is correct
115 Correct 2 ms 3928 KB Output is correct
116 Correct 3 ms 3824 KB Output is correct
117 Correct 2 ms 3932 KB Output is correct
118 Runtime error 22 ms 12300 KB Execution killed with signal 11
119 Halted 0 ms 0 KB -