Submission #683921

# Submission time Handle Problem Language Result Execution time Memory
683921 2023-01-19T16:27:12 Z TimDee Radio Towers (IOI22_towers) C++17
60 / 100
1562 ms 5364 KB
#include "towers.h"
#include <bits/stdc++.h>
using namespace std;
#define forn(i,n) for(int i=0;i<n;++i)

struct minsgt {
    vector<int> t;
    int n, sz;
    int merge(int x, int y) {
      return min(x,y);
    }
    void build(int v, int l, int r) {
        if (r-l==1) return;
        int m=(l+r)>>1;
        build(2*v+1,l,m);
        build(2*v+2,m,r);
        t[v]=merge(t[2*v+1],t[2*v+2]);
    }
    minsgt(vector<int>&a) {
        n=a.size();
        sz=1;
        while (sz<n) sz<<=1;
        t.assign(2*sz-1,1e9+7);
        forn(i,n) t[sz-1+i]=a[i];
        build(0,0,sz);
    }
    int query(int v, int l, int r, int lx, int rx) {
        if (r<=lx || l>=rx) return 1e9+7;
        if (lx<=l && r<=rx) return t[v];
        int m=(l+r)>>1;
        int L=query(2*v+1,l,m,lx,rx);
        int R=query(2*v+2,m,r,lx,rx);
        return merge(L,R);
    }
    int query(int l, int r) {
        return query(0,0,sz,l,r);
    }
};

struct maxsgt {
    vector<int> t;
    int n, sz;
    int merge(int x, int y) {
      return max(x,y);
    }
    void build(int v, int l, int r) {
        if (r-l==1) return;
        int m=(l+r)>>1;
        build(2*v+1,l,m);
        build(2*v+2,m,r);
        t[v]=merge(t[2*v+1],t[2*v+2]);
    }
    maxsgt(vector<int>&a) {
        n=a.size();
        sz=1;
        while (sz<n) sz<<=1;
        t.assign(2*sz-1,0);
        forn(i,n) t[sz-1+i]=a[i];
        build(0,0,sz);
    }
    int query(int v, int l, int r, int lx, int rx) {
        if (r<=lx || l>=rx) return 0;
        if (lx<=l && r<=rx) return t[v];
        int m=(l+r)>>1;
        int L=query(2*v+1,l,m,lx,rx);
        int R=query(2*v+2,m,r,lx,rx);
        return merge(L,R);
    }
    int query(int l, int r) {
        return query(0,0,sz,l,r);
    }
};

int n;
vector<int> h;
int paiu=1;
int pos=0,mx;
int D=-1;
int Q=0;
vector<int> pr(1e5+3,0);
void init(int N, vector<int> H) {
  n=N, h=H;
  forn(i,n) {
    if (h[i]>h[pos]) {
      pos=i;
    }
  }
  mx=h[pos];
  for(int i=pos-1; i+1; --i) paiu&=h[i+1]>h[i];
  for(int i=pos+1; i<n; ++i) paiu&=h[i-1]>h[i];

}

minsgt minst(pr);
maxsgt maxst(pr);
vector<int> nxt(1e5+3,0);
vector<int> jump(1e5+3,0);
int sq;
void build() {

  minst = minsgt(h);
  maxst = maxsgt(h);
  vector<int> less(n+1,n);
  forn(i,n) {
    int l=i, r=n;
    while (l<r) {
      int m=(l+r)>>1;
      int x=minst.query(i,m+1);
      if (h[i]-x>=D) r=m;
      else l=m+1;
    }
    less[i]=r;
  }
  for (int i=n-2; i+1; --i) less[i]=min(less[i],less[i+1]);
  vector<int> greater(n+1,n);
  forn(i,n) {
    int l=i, r=n;
    while (l<r) {
      int m=(l+r)>>1;
      int x=maxst.query(i,m+1);
      if (x-h[i]>=D) r=m;
      else l=m+1;
    }
    greater[i]=r;
  }
  for (int i=n-2; i+1; --i) {
    greater[i]=min(greater[i],greater[i+1]);
  }
  for (int i=n-1; i+1; --i) {
    nxt[i]=less[greater[i]];
  }

  sq = sqrt(n);
  for (int i=0; i<n; ++i) {
    int p=i;
    for (int cnt=0; cnt<sq; ++cnt) {
      if (p>=n) {
        break;
      }
      p=nxt[p];
    }
    jump[i]=p;
  }
  nxt[n]=jump[n]=n;
}

int max_towers(int l, int r, int d) {

  if (paiu) {
    if (r<=pos || l>=pos) return 1;
    int L=h[l], R=h[r];
    return 1+(max(L,R) <= mx-d);
  }

  if (D==-1) {
    D=d;
    build();
  }
  int ans=0;
  int i=l;
  while (jump[i+1]<=r) {
    i=jump[i];
    ans+=sq;
  }
  while (i<=r) {
    i=nxt[i];
    ans++;
  } 
  return max(ans,1);

}
# Verdict Execution time Memory Grader output
1 Correct 392 ms 4180 KB Output is correct
2 Correct 657 ms 4680 KB Output is correct
3 Correct 548 ms 4676 KB Output is correct
4 Correct 864 ms 4688 KB Output is correct
5 Correct 574 ms 4680 KB Output is correct
6 Correct 787 ms 4700 KB Output is correct
7 Correct 680 ms 4680 KB Output is correct
8 Correct 4 ms 3536 KB Output is correct
9 Correct 4 ms 3536 KB Output is correct
10 Correct 4 ms 3536 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 4 ms 3536 KB Output is correct
2 Correct 8 ms 3536 KB Output is correct
3 Correct 8 ms 3536 KB Output is correct
4 Correct 10 ms 3536 KB Output is correct
5 Correct 10 ms 3536 KB Output is correct
6 Correct 10 ms 3536 KB Output is correct
7 Correct 9 ms 3536 KB Output is correct
8 Correct 4 ms 3536 KB Output is correct
9 Correct 4 ms 3536 KB Output is correct
10 Correct 7 ms 3536 KB Output is correct
11 Correct 8 ms 3536 KB Output is correct
12 Correct 4 ms 3536 KB Output is correct
13 Correct 4 ms 3536 KB Output is correct
14 Correct 4 ms 3536 KB Output is correct
15 Correct 8 ms 3536 KB Output is correct
16 Correct 8 ms 3536 KB Output is correct
17 Correct 8 ms 3536 KB Output is correct
18 Correct 4 ms 3536 KB Output is correct
19 Correct 8 ms 3536 KB Output is correct
20 Correct 9 ms 3536 KB Output is correct
21 Correct 8 ms 3536 KB Output is correct
22 Correct 8 ms 3536 KB Output is correct
23 Correct 4 ms 3536 KB Output is correct
24 Correct 8 ms 3536 KB Output is correct
25 Correct 5 ms 3536 KB Output is correct
26 Correct 8 ms 3536 KB Output is correct
27 Correct 8 ms 3536 KB Output is correct
28 Correct 8 ms 3536 KB Output is correct
29 Correct 9 ms 3520 KB Output is correct
30 Correct 8 ms 3536 KB Output is correct
31 Correct 9 ms 3536 KB Output is correct
32 Correct 4 ms 3536 KB Output is correct
33 Correct 4 ms 3536 KB Output is correct
34 Correct 7 ms 3536 KB Output is correct
35 Correct 8 ms 3536 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 4 ms 3536 KB Output is correct
2 Correct 8 ms 3536 KB Output is correct
3 Correct 8 ms 3536 KB Output is correct
4 Correct 10 ms 3536 KB Output is correct
5 Correct 10 ms 3536 KB Output is correct
6 Correct 10 ms 3536 KB Output is correct
7 Correct 9 ms 3536 KB Output is correct
8 Correct 4 ms 3536 KB Output is correct
9 Correct 4 ms 3536 KB Output is correct
10 Correct 7 ms 3536 KB Output is correct
11 Correct 8 ms 3536 KB Output is correct
12 Correct 4 ms 3536 KB Output is correct
13 Correct 4 ms 3536 KB Output is correct
14 Correct 4 ms 3536 KB Output is correct
15 Correct 8 ms 3536 KB Output is correct
16 Correct 8 ms 3536 KB Output is correct
17 Correct 8 ms 3536 KB Output is correct
18 Correct 4 ms 3536 KB Output is correct
19 Correct 8 ms 3536 KB Output is correct
20 Correct 9 ms 3536 KB Output is correct
21 Correct 8 ms 3536 KB Output is correct
22 Correct 8 ms 3536 KB Output is correct
23 Correct 4 ms 3536 KB Output is correct
24 Correct 8 ms 3536 KB Output is correct
25 Correct 5 ms 3536 KB Output is correct
26 Correct 8 ms 3536 KB Output is correct
27 Correct 8 ms 3536 KB Output is correct
28 Correct 8 ms 3536 KB Output is correct
29 Correct 9 ms 3520 KB Output is correct
30 Correct 8 ms 3536 KB Output is correct
31 Correct 9 ms 3536 KB Output is correct
32 Correct 4 ms 3536 KB Output is correct
33 Correct 4 ms 3536 KB Output is correct
34 Correct 7 ms 3536 KB Output is correct
35 Correct 8 ms 3536 KB Output is correct
36 Correct 278 ms 4548 KB Output is correct
37 Correct 482 ms 5316 KB Output is correct
38 Correct 514 ms 5320 KB Output is correct
39 Correct 495 ms 5320 KB Output is correct
40 Correct 484 ms 5320 KB Output is correct
41 Correct 486 ms 5312 KB Output is correct
42 Correct 500 ms 5316 KB Output is correct
43 Correct 14 ms 4696 KB Output is correct
44 Correct 14 ms 4812 KB Output is correct
45 Correct 456 ms 5324 KB Output is correct
46 Correct 429 ms 5312 KB Output is correct
47 Correct 487 ms 5312 KB Output is correct
48 Correct 470 ms 5336 KB Output is correct
49 Correct 473 ms 5312 KB Output is correct
50 Correct 14 ms 4684 KB Output is correct
51 Correct 462 ms 5308 KB Output is correct
52 Correct 462 ms 5344 KB Output is correct
53 Correct 461 ms 5312 KB Output is correct
54 Correct 481 ms 5324 KB Output is correct
55 Correct 15 ms 4680 KB Output is correct
56 Correct 457 ms 5320 KB Output is correct
57 Correct 484 ms 5200 KB Output is correct
58 Correct 499 ms 5328 KB Output is correct
59 Correct 482 ms 5340 KB Output is correct
60 Correct 475 ms 5324 KB Output is correct
61 Correct 504 ms 5364 KB Output is correct
62 Correct 487 ms 5312 KB Output is correct
63 Correct 509 ms 5328 KB Output is correct
64 Correct 26 ms 4688 KB Output is correct
65 Correct 15 ms 4680 KB Output is correct
66 Correct 427 ms 5316 KB Output is correct
67 Correct 442 ms 5320 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 1162 ms 5312 KB Output is correct
2 Correct 1511 ms 5336 KB Output is correct
3 Correct 1423 ms 5316 KB Output is correct
4 Correct 1415 ms 5316 KB Output is correct
5 Correct 1378 ms 5312 KB Output is correct
6 Correct 1429 ms 5336 KB Output is correct
7 Correct 1243 ms 5320 KB Output is correct
8 Correct 910 ms 4676 KB Output is correct
9 Correct 663 ms 4684 KB Output is correct
10 Correct 1220 ms 5316 KB Output is correct
11 Correct 1331 ms 5308 KB Output is correct
12 Correct 742 ms 4692 KB Output is correct
13 Correct 664 ms 4700 KB Output is correct
14 Correct 4 ms 3536 KB Output is correct
15 Correct 5 ms 3536 KB Output is correct
16 Correct 6 ms 3536 KB Output is correct
17 Correct 480 ms 5316 KB Output is correct
18 Correct 529 ms 5316 KB Output is correct
19 Correct 502 ms 5312 KB Output is correct
20 Correct 19 ms 4680 KB Output is correct
21 Correct 431 ms 5312 KB Output is correct
22 Correct 510 ms 5320 KB Output is correct
23 Correct 491 ms 5320 KB Output is correct
24 Correct 488 ms 5320 KB Output is correct
25 Correct 15 ms 4664 KB Output is correct
26 Correct 429 ms 5308 KB Output is correct
27 Correct 8 ms 3536 KB Output is correct
28 Correct 8 ms 3536 KB Output is correct
29 Correct 8 ms 3536 KB Output is correct
30 Correct 4 ms 3536 KB Output is correct
31 Correct 8 ms 3536 KB Output is correct
32 Correct 8 ms 3492 KB Output is correct
33 Correct 8 ms 3536 KB Output is correct
34 Correct 8 ms 3536 KB Output is correct
35 Correct 5 ms 3536 KB Output is correct
36 Correct 9 ms 3536 KB Output is correct
# Verdict Execution time Memory Grader output
1 Incorrect 340 ms 4028 KB 2nd lines differ - on the 1st token, expected: '7063', found: '7197'
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 4 ms 3536 KB Output is correct
2 Correct 8 ms 3536 KB Output is correct
3 Correct 8 ms 3536 KB Output is correct
4 Correct 10 ms 3536 KB Output is correct
5 Correct 10 ms 3536 KB Output is correct
6 Correct 10 ms 3536 KB Output is correct
7 Correct 9 ms 3536 KB Output is correct
8 Correct 4 ms 3536 KB Output is correct
9 Correct 4 ms 3536 KB Output is correct
10 Correct 7 ms 3536 KB Output is correct
11 Correct 8 ms 3536 KB Output is correct
12 Correct 4 ms 3536 KB Output is correct
13 Correct 4 ms 3536 KB Output is correct
14 Correct 4 ms 3536 KB Output is correct
15 Correct 8 ms 3536 KB Output is correct
16 Correct 8 ms 3536 KB Output is correct
17 Correct 8 ms 3536 KB Output is correct
18 Correct 4 ms 3536 KB Output is correct
19 Correct 8 ms 3536 KB Output is correct
20 Correct 9 ms 3536 KB Output is correct
21 Correct 8 ms 3536 KB Output is correct
22 Correct 8 ms 3536 KB Output is correct
23 Correct 4 ms 3536 KB Output is correct
24 Correct 8 ms 3536 KB Output is correct
25 Correct 5 ms 3536 KB Output is correct
26 Correct 8 ms 3536 KB Output is correct
27 Correct 8 ms 3536 KB Output is correct
28 Correct 8 ms 3536 KB Output is correct
29 Correct 9 ms 3520 KB Output is correct
30 Correct 8 ms 3536 KB Output is correct
31 Correct 9 ms 3536 KB Output is correct
32 Correct 4 ms 3536 KB Output is correct
33 Correct 4 ms 3536 KB Output is correct
34 Correct 7 ms 3536 KB Output is correct
35 Correct 8 ms 3536 KB Output is correct
36 Correct 278 ms 4548 KB Output is correct
37 Correct 482 ms 5316 KB Output is correct
38 Correct 514 ms 5320 KB Output is correct
39 Correct 495 ms 5320 KB Output is correct
40 Correct 484 ms 5320 KB Output is correct
41 Correct 486 ms 5312 KB Output is correct
42 Correct 500 ms 5316 KB Output is correct
43 Correct 14 ms 4696 KB Output is correct
44 Correct 14 ms 4812 KB Output is correct
45 Correct 456 ms 5324 KB Output is correct
46 Correct 429 ms 5312 KB Output is correct
47 Correct 487 ms 5312 KB Output is correct
48 Correct 470 ms 5336 KB Output is correct
49 Correct 473 ms 5312 KB Output is correct
50 Correct 14 ms 4684 KB Output is correct
51 Correct 462 ms 5308 KB Output is correct
52 Correct 462 ms 5344 KB Output is correct
53 Correct 461 ms 5312 KB Output is correct
54 Correct 481 ms 5324 KB Output is correct
55 Correct 15 ms 4680 KB Output is correct
56 Correct 457 ms 5320 KB Output is correct
57 Correct 484 ms 5200 KB Output is correct
58 Correct 499 ms 5328 KB Output is correct
59 Correct 482 ms 5340 KB Output is correct
60 Correct 475 ms 5324 KB Output is correct
61 Correct 504 ms 5364 KB Output is correct
62 Correct 487 ms 5312 KB Output is correct
63 Correct 509 ms 5328 KB Output is correct
64 Correct 26 ms 4688 KB Output is correct
65 Correct 15 ms 4680 KB Output is correct
66 Correct 427 ms 5316 KB Output is correct
67 Correct 442 ms 5320 KB Output is correct
68 Correct 1162 ms 5312 KB Output is correct
69 Correct 1511 ms 5336 KB Output is correct
70 Correct 1423 ms 5316 KB Output is correct
71 Correct 1415 ms 5316 KB Output is correct
72 Correct 1378 ms 5312 KB Output is correct
73 Correct 1429 ms 5336 KB Output is correct
74 Correct 1243 ms 5320 KB Output is correct
75 Correct 910 ms 4676 KB Output is correct
76 Correct 663 ms 4684 KB Output is correct
77 Correct 1220 ms 5316 KB Output is correct
78 Correct 1331 ms 5308 KB Output is correct
79 Correct 742 ms 4692 KB Output is correct
80 Correct 664 ms 4700 KB Output is correct
81 Correct 4 ms 3536 KB Output is correct
82 Correct 5 ms 3536 KB Output is correct
83 Correct 6 ms 3536 KB Output is correct
84 Correct 480 ms 5316 KB Output is correct
85 Correct 529 ms 5316 KB Output is correct
86 Correct 502 ms 5312 KB Output is correct
87 Correct 19 ms 4680 KB Output is correct
88 Correct 431 ms 5312 KB Output is correct
89 Correct 510 ms 5320 KB Output is correct
90 Correct 491 ms 5320 KB Output is correct
91 Correct 488 ms 5320 KB Output is correct
92 Correct 15 ms 4664 KB Output is correct
93 Correct 429 ms 5308 KB Output is correct
94 Correct 8 ms 3536 KB Output is correct
95 Correct 8 ms 3536 KB Output is correct
96 Correct 8 ms 3536 KB Output is correct
97 Correct 4 ms 3536 KB Output is correct
98 Correct 8 ms 3536 KB Output is correct
99 Correct 8 ms 3492 KB Output is correct
100 Correct 8 ms 3536 KB Output is correct
101 Correct 8 ms 3536 KB Output is correct
102 Correct 5 ms 3536 KB Output is correct
103 Correct 9 ms 3536 KB Output is correct
104 Correct 1358 ms 5236 KB Output is correct
105 Correct 1426 ms 5312 KB Output is correct
106 Correct 1481 ms 5304 KB Output is correct
107 Correct 1477 ms 5308 KB Output is correct
108 Correct 1398 ms 5320 KB Output is correct
109 Correct 1562 ms 5312 KB Output is correct
110 Correct 1449 ms 5308 KB Output is correct
111 Correct 544 ms 4688 KB Output is correct
112 Correct 827 ms 4688 KB Output is correct
113 Correct 1160 ms 5308 KB Output is correct
114 Correct 1203 ms 5328 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 392 ms 4180 KB Output is correct
2 Correct 657 ms 4680 KB Output is correct
3 Correct 548 ms 4676 KB Output is correct
4 Correct 864 ms 4688 KB Output is correct
5 Correct 574 ms 4680 KB Output is correct
6 Correct 787 ms 4700 KB Output is correct
7 Correct 680 ms 4680 KB Output is correct
8 Correct 4 ms 3536 KB Output is correct
9 Correct 4 ms 3536 KB Output is correct
10 Correct 4 ms 3536 KB Output is correct
11 Correct 4 ms 3536 KB Output is correct
12 Correct 8 ms 3536 KB Output is correct
13 Correct 8 ms 3536 KB Output is correct
14 Correct 10 ms 3536 KB Output is correct
15 Correct 10 ms 3536 KB Output is correct
16 Correct 10 ms 3536 KB Output is correct
17 Correct 9 ms 3536 KB Output is correct
18 Correct 4 ms 3536 KB Output is correct
19 Correct 4 ms 3536 KB Output is correct
20 Correct 7 ms 3536 KB Output is correct
21 Correct 8 ms 3536 KB Output is correct
22 Correct 4 ms 3536 KB Output is correct
23 Correct 4 ms 3536 KB Output is correct
24 Correct 4 ms 3536 KB Output is correct
25 Correct 8 ms 3536 KB Output is correct
26 Correct 8 ms 3536 KB Output is correct
27 Correct 8 ms 3536 KB Output is correct
28 Correct 4 ms 3536 KB Output is correct
29 Correct 8 ms 3536 KB Output is correct
30 Correct 9 ms 3536 KB Output is correct
31 Correct 8 ms 3536 KB Output is correct
32 Correct 8 ms 3536 KB Output is correct
33 Correct 4 ms 3536 KB Output is correct
34 Correct 8 ms 3536 KB Output is correct
35 Correct 5 ms 3536 KB Output is correct
36 Correct 8 ms 3536 KB Output is correct
37 Correct 8 ms 3536 KB Output is correct
38 Correct 8 ms 3536 KB Output is correct
39 Correct 9 ms 3520 KB Output is correct
40 Correct 8 ms 3536 KB Output is correct
41 Correct 9 ms 3536 KB Output is correct
42 Correct 4 ms 3536 KB Output is correct
43 Correct 4 ms 3536 KB Output is correct
44 Correct 7 ms 3536 KB Output is correct
45 Correct 8 ms 3536 KB Output is correct
46 Correct 278 ms 4548 KB Output is correct
47 Correct 482 ms 5316 KB Output is correct
48 Correct 514 ms 5320 KB Output is correct
49 Correct 495 ms 5320 KB Output is correct
50 Correct 484 ms 5320 KB Output is correct
51 Correct 486 ms 5312 KB Output is correct
52 Correct 500 ms 5316 KB Output is correct
53 Correct 14 ms 4696 KB Output is correct
54 Correct 14 ms 4812 KB Output is correct
55 Correct 456 ms 5324 KB Output is correct
56 Correct 429 ms 5312 KB Output is correct
57 Correct 487 ms 5312 KB Output is correct
58 Correct 470 ms 5336 KB Output is correct
59 Correct 473 ms 5312 KB Output is correct
60 Correct 14 ms 4684 KB Output is correct
61 Correct 462 ms 5308 KB Output is correct
62 Correct 462 ms 5344 KB Output is correct
63 Correct 461 ms 5312 KB Output is correct
64 Correct 481 ms 5324 KB Output is correct
65 Correct 15 ms 4680 KB Output is correct
66 Correct 457 ms 5320 KB Output is correct
67 Correct 484 ms 5200 KB Output is correct
68 Correct 499 ms 5328 KB Output is correct
69 Correct 482 ms 5340 KB Output is correct
70 Correct 475 ms 5324 KB Output is correct
71 Correct 504 ms 5364 KB Output is correct
72 Correct 487 ms 5312 KB Output is correct
73 Correct 509 ms 5328 KB Output is correct
74 Correct 26 ms 4688 KB Output is correct
75 Correct 15 ms 4680 KB Output is correct
76 Correct 427 ms 5316 KB Output is correct
77 Correct 442 ms 5320 KB Output is correct
78 Correct 1162 ms 5312 KB Output is correct
79 Correct 1511 ms 5336 KB Output is correct
80 Correct 1423 ms 5316 KB Output is correct
81 Correct 1415 ms 5316 KB Output is correct
82 Correct 1378 ms 5312 KB Output is correct
83 Correct 1429 ms 5336 KB Output is correct
84 Correct 1243 ms 5320 KB Output is correct
85 Correct 910 ms 4676 KB Output is correct
86 Correct 663 ms 4684 KB Output is correct
87 Correct 1220 ms 5316 KB Output is correct
88 Correct 1331 ms 5308 KB Output is correct
89 Correct 742 ms 4692 KB Output is correct
90 Correct 664 ms 4700 KB Output is correct
91 Correct 4 ms 3536 KB Output is correct
92 Correct 5 ms 3536 KB Output is correct
93 Correct 6 ms 3536 KB Output is correct
94 Correct 480 ms 5316 KB Output is correct
95 Correct 529 ms 5316 KB Output is correct
96 Correct 502 ms 5312 KB Output is correct
97 Correct 19 ms 4680 KB Output is correct
98 Correct 431 ms 5312 KB Output is correct
99 Correct 510 ms 5320 KB Output is correct
100 Correct 491 ms 5320 KB Output is correct
101 Correct 488 ms 5320 KB Output is correct
102 Correct 15 ms 4664 KB Output is correct
103 Correct 429 ms 5308 KB Output is correct
104 Correct 8 ms 3536 KB Output is correct
105 Correct 8 ms 3536 KB Output is correct
106 Correct 8 ms 3536 KB Output is correct
107 Correct 4 ms 3536 KB Output is correct
108 Correct 8 ms 3536 KB Output is correct
109 Correct 8 ms 3492 KB Output is correct
110 Correct 8 ms 3536 KB Output is correct
111 Correct 8 ms 3536 KB Output is correct
112 Correct 5 ms 3536 KB Output is correct
113 Correct 9 ms 3536 KB Output is correct
114 Incorrect 340 ms 4028 KB 2nd lines differ - on the 1st token, expected: '7063', found: '7197'
115 Halted 0 ms 0 KB -