# |
제출 시각 |
아이디 |
문제 |
언어 |
결과 |
실행 시간 |
메모리 |
493238 |
2021-12-10T13:30:40 Z |
blue |
Toys (CEOI18_toy) |
C++17 |
|
2145 ms |
67772 KB |
#include <iostream>
#include <vector>
#include <set>
#include <algorithm>
#include <map>
#include <cassert>
using namespace std;
#define sz(x) (int(x.size()))
using vi = vector<int>;
using ll = long long;
// map< int, vector<int> > res;
vi sf;
long long n;
vector<int> res[40'000]; //i*i <= n
vector<int> res2[40'000]; //i*i >= n, access n/i.
vi solved(1+40'000, 0);
vi solved2(1+40'000, 0);
vector<int> factors[40'000];
vector<int> factors2[40'000];
vector<int>& get_res(long long u)
{
if(u*u <= n) return res[u];
else return res2[n/u];
}
vector<int>& get_factors(long long u)
{
if(u*u <= n) return factors[u];
else return factors2[n/u];
}
int& get_solved(long long u)
{
if(u*u <= n) return solved[u];
else return solved2[n/u];
}
void solve(long long i)
{
if(get_solved(i)) return;
else get_solved(i) = 1;
vi ans(1, i-1);
for(ll j: get_factors(i))
{
// cerr << "j = " << j << '\n';
if(j >= i || j*j > i) break;
// cerr << i << " -> " << j << '\n';
long long u = j;
long long v = i/j;
solve(u);
solve(v);
for(int a: get_res(u))
{
for(int b: get_res(v))
{
// if(b > a) break;
ans.push_back(a+b);
}
}
}
sort(ans.begin(), ans.end());
ans.erase(unique(ans.begin(), ans.end()), ans.end());
// for(int a: ans) cerr << "a = " << a << '\n';
get_res(i) = ans;
}
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cin >> n;
assert(n <= 2'0000'0000);
if(n == 1)
{
cout << "1\n 0\n";
return 0;
}
for(int i = 2; i < n; i++)
{
// cerr << i << " " << n%i << ' ' << int(n%i == 0) << '\n';
if(i*i > n) break;
if(n % i == 0)
{
sf.push_back(i);
sf.push_back(n/i);
}
}
// for(int i = 2; i <= n; i++)
// {
// // cerr << i << " " << n%i << ' ' << int(n%i == 0) << '\n';
// if(n % i == 0)
// sf.push_back(i);
// }
sf.push_back(n);
sort(sf.begin(), sf.end());
sf.erase(unique(sf.begin(), sf.end()), sf.end());
// for(int q: sf) cerr << q << ' ';
// cerr << '\n';
for(int a: sf)
for(int b: sf)
if(a < b && b%a==0)
get_factors(b).push_back(a);
solve(n);
vi ans = res2[1];
// cerr << "sf init = " ;
// for(int q: sf) cerr << q << " ";
// cerr << "\n";
cout << sz(ans) << '\n';
for(int r: ans) cout << r << ' ';
cout << '\n';
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
2 ms |
4300 KB |
Output is correct |
2 |
Correct |
3 ms |
4300 KB |
Output is correct |
3 |
Correct |
2 ms |
4300 KB |
Output is correct |
4 |
Correct |
2 ms |
4300 KB |
Output is correct |
5 |
Correct |
2 ms |
4300 KB |
Output is correct |
6 |
Correct |
2 ms |
4300 KB |
Output is correct |
7 |
Correct |
2 ms |
4300 KB |
Output is correct |
8 |
Correct |
3 ms |
4300 KB |
Output is correct |
9 |
Correct |
3 ms |
4300 KB |
Output is correct |
10 |
Correct |
2 ms |
4300 KB |
Output is correct |
11 |
Correct |
2 ms |
4300 KB |
Output is correct |
12 |
Correct |
2 ms |
4300 KB |
Output is correct |
13 |
Correct |
2 ms |
4300 KB |
Output is correct |
14 |
Correct |
2 ms |
4300 KB |
Output is correct |
15 |
Correct |
2 ms |
4300 KB |
Output is correct |
16 |
Correct |
2 ms |
4300 KB |
Output is correct |
17 |
Correct |
2 ms |
4300 KB |
Output is correct |
18 |
Correct |
2 ms |
4300 KB |
Output is correct |
19 |
Correct |
2 ms |
4300 KB |
Output is correct |
20 |
Correct |
3 ms |
4300 KB |
Output is correct |
21 |
Correct |
2 ms |
4300 KB |
Output is correct |
22 |
Correct |
2 ms |
4300 KB |
Output is correct |
23 |
Correct |
3 ms |
4300 KB |
Output is correct |
24 |
Correct |
2 ms |
4300 KB |
Output is correct |
25 |
Correct |
3 ms |
4300 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
2 ms |
4300 KB |
Output is correct |
2 |
Correct |
3 ms |
4300 KB |
Output is correct |
3 |
Correct |
2 ms |
4300 KB |
Output is correct |
4 |
Correct |
2 ms |
4300 KB |
Output is correct |
5 |
Correct |
2 ms |
4300 KB |
Output is correct |
6 |
Correct |
2 ms |
4300 KB |
Output is correct |
7 |
Correct |
2 ms |
4300 KB |
Output is correct |
8 |
Correct |
3 ms |
4300 KB |
Output is correct |
9 |
Correct |
3 ms |
4300 KB |
Output is correct |
10 |
Correct |
2 ms |
4300 KB |
Output is correct |
11 |
Correct |
2 ms |
4300 KB |
Output is correct |
12 |
Correct |
2 ms |
4300 KB |
Output is correct |
13 |
Correct |
2 ms |
4300 KB |
Output is correct |
14 |
Correct |
2 ms |
4300 KB |
Output is correct |
15 |
Correct |
2 ms |
4300 KB |
Output is correct |
16 |
Correct |
2 ms |
4300 KB |
Output is correct |
17 |
Correct |
2 ms |
4300 KB |
Output is correct |
18 |
Correct |
2 ms |
4300 KB |
Output is correct |
19 |
Correct |
2 ms |
4300 KB |
Output is correct |
20 |
Correct |
3 ms |
4300 KB |
Output is correct |
21 |
Correct |
2 ms |
4300 KB |
Output is correct |
22 |
Correct |
2 ms |
4300 KB |
Output is correct |
23 |
Correct |
3 ms |
4300 KB |
Output is correct |
24 |
Correct |
2 ms |
4300 KB |
Output is correct |
25 |
Correct |
3 ms |
4300 KB |
Output is correct |
26 |
Correct |
3 ms |
4428 KB |
Output is correct |
27 |
Correct |
4 ms |
4428 KB |
Output is correct |
28 |
Correct |
3 ms |
4300 KB |
Output is correct |
29 |
Correct |
3 ms |
4300 KB |
Output is correct |
30 |
Correct |
2 ms |
4300 KB |
Output is correct |
31 |
Correct |
3 ms |
4428 KB |
Output is correct |
32 |
Correct |
3 ms |
4428 KB |
Output is correct |
33 |
Correct |
2 ms |
4428 KB |
Output is correct |
34 |
Correct |
2 ms |
4300 KB |
Output is correct |
35 |
Correct |
2 ms |
4300 KB |
Output is correct |
36 |
Correct |
3 ms |
4300 KB |
Output is correct |
37 |
Correct |
3 ms |
4428 KB |
Output is correct |
38 |
Correct |
2 ms |
4300 KB |
Output is correct |
39 |
Correct |
2 ms |
4300 KB |
Output is correct |
40 |
Correct |
3 ms |
4300 KB |
Output is correct |
41 |
Correct |
4 ms |
4300 KB |
Output is correct |
42 |
Correct |
3 ms |
4300 KB |
Output is correct |
43 |
Correct |
2 ms |
4300 KB |
Output is correct |
44 |
Correct |
2 ms |
4300 KB |
Output is correct |
45 |
Correct |
2 ms |
4300 KB |
Output is correct |
46 |
Correct |
2 ms |
4300 KB |
Output is correct |
47 |
Correct |
3 ms |
4300 KB |
Output is correct |
48 |
Correct |
2 ms |
4300 KB |
Output is correct |
49 |
Correct |
2 ms |
4300 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
2 ms |
4300 KB |
Output is correct |
2 |
Correct |
3 ms |
4300 KB |
Output is correct |
3 |
Correct |
2 ms |
4300 KB |
Output is correct |
4 |
Correct |
2 ms |
4300 KB |
Output is correct |
5 |
Correct |
2 ms |
4300 KB |
Output is correct |
6 |
Correct |
2 ms |
4300 KB |
Output is correct |
7 |
Correct |
2 ms |
4300 KB |
Output is correct |
8 |
Correct |
3 ms |
4300 KB |
Output is correct |
9 |
Correct |
3 ms |
4300 KB |
Output is correct |
10 |
Correct |
2 ms |
4300 KB |
Output is correct |
11 |
Correct |
2 ms |
4300 KB |
Output is correct |
12 |
Correct |
2 ms |
4300 KB |
Output is correct |
13 |
Correct |
2 ms |
4300 KB |
Output is correct |
14 |
Correct |
2 ms |
4300 KB |
Output is correct |
15 |
Correct |
2 ms |
4300 KB |
Output is correct |
16 |
Correct |
2 ms |
4300 KB |
Output is correct |
17 |
Correct |
2 ms |
4300 KB |
Output is correct |
18 |
Correct |
2 ms |
4300 KB |
Output is correct |
19 |
Correct |
2 ms |
4300 KB |
Output is correct |
20 |
Correct |
3 ms |
4300 KB |
Output is correct |
21 |
Correct |
2 ms |
4300 KB |
Output is correct |
22 |
Correct |
2 ms |
4300 KB |
Output is correct |
23 |
Correct |
3 ms |
4300 KB |
Output is correct |
24 |
Correct |
2 ms |
4300 KB |
Output is correct |
25 |
Correct |
3 ms |
4300 KB |
Output is correct |
26 |
Correct |
3 ms |
4428 KB |
Output is correct |
27 |
Correct |
4 ms |
4428 KB |
Output is correct |
28 |
Correct |
3 ms |
4300 KB |
Output is correct |
29 |
Correct |
3 ms |
4300 KB |
Output is correct |
30 |
Correct |
2 ms |
4300 KB |
Output is correct |
31 |
Correct |
3 ms |
4428 KB |
Output is correct |
32 |
Correct |
3 ms |
4428 KB |
Output is correct |
33 |
Correct |
2 ms |
4428 KB |
Output is correct |
34 |
Correct |
2 ms |
4300 KB |
Output is correct |
35 |
Correct |
2 ms |
4300 KB |
Output is correct |
36 |
Correct |
3 ms |
4300 KB |
Output is correct |
37 |
Correct |
3 ms |
4428 KB |
Output is correct |
38 |
Correct |
2 ms |
4300 KB |
Output is correct |
39 |
Correct |
2 ms |
4300 KB |
Output is correct |
40 |
Correct |
3 ms |
4300 KB |
Output is correct |
41 |
Correct |
4 ms |
4300 KB |
Output is correct |
42 |
Correct |
3 ms |
4300 KB |
Output is correct |
43 |
Correct |
2 ms |
4300 KB |
Output is correct |
44 |
Correct |
2 ms |
4300 KB |
Output is correct |
45 |
Correct |
2 ms |
4300 KB |
Output is correct |
46 |
Correct |
2 ms |
4300 KB |
Output is correct |
47 |
Correct |
3 ms |
4300 KB |
Output is correct |
48 |
Correct |
2 ms |
4300 KB |
Output is correct |
49 |
Correct |
2 ms |
4300 KB |
Output is correct |
50 |
Correct |
5 ms |
4556 KB |
Output is correct |
51 |
Correct |
5 ms |
4556 KB |
Output is correct |
52 |
Correct |
5 ms |
4528 KB |
Output is correct |
53 |
Correct |
5 ms |
4556 KB |
Output is correct |
54 |
Correct |
3 ms |
4428 KB |
Output is correct |
55 |
Correct |
8 ms |
4696 KB |
Output is correct |
56 |
Correct |
8 ms |
4616 KB |
Output is correct |
57 |
Correct |
6 ms |
4556 KB |
Output is correct |
58 |
Correct |
2 ms |
4300 KB |
Output is correct |
59 |
Correct |
3 ms |
4300 KB |
Output is correct |
60 |
Correct |
3 ms |
4428 KB |
Output is correct |
61 |
Correct |
5 ms |
4428 KB |
Output is correct |
62 |
Correct |
3 ms |
4428 KB |
Output is correct |
63 |
Correct |
3 ms |
4428 KB |
Output is correct |
64 |
Correct |
2 ms |
4300 KB |
Output is correct |
65 |
Correct |
4 ms |
4428 KB |
Output is correct |
66 |
Correct |
2 ms |
4300 KB |
Output is correct |
67 |
Correct |
2 ms |
4300 KB |
Output is correct |
68 |
Correct |
2 ms |
4300 KB |
Output is correct |
69 |
Correct |
2 ms |
4300 KB |
Output is correct |
70 |
Correct |
3 ms |
4428 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
2 ms |
4300 KB |
Output is correct |
2 |
Correct |
3 ms |
4300 KB |
Output is correct |
3 |
Correct |
2 ms |
4300 KB |
Output is correct |
4 |
Correct |
2 ms |
4300 KB |
Output is correct |
5 |
Correct |
2 ms |
4300 KB |
Output is correct |
6 |
Correct |
2 ms |
4300 KB |
Output is correct |
7 |
Correct |
2 ms |
4300 KB |
Output is correct |
8 |
Correct |
3 ms |
4300 KB |
Output is correct |
9 |
Correct |
3 ms |
4300 KB |
Output is correct |
10 |
Correct |
2 ms |
4300 KB |
Output is correct |
11 |
Correct |
2 ms |
4300 KB |
Output is correct |
12 |
Correct |
2 ms |
4300 KB |
Output is correct |
13 |
Correct |
2 ms |
4300 KB |
Output is correct |
14 |
Correct |
2 ms |
4300 KB |
Output is correct |
15 |
Correct |
2 ms |
4300 KB |
Output is correct |
16 |
Correct |
2 ms |
4300 KB |
Output is correct |
17 |
Correct |
2 ms |
4300 KB |
Output is correct |
18 |
Correct |
2 ms |
4300 KB |
Output is correct |
19 |
Correct |
2 ms |
4300 KB |
Output is correct |
20 |
Correct |
3 ms |
4300 KB |
Output is correct |
21 |
Correct |
2 ms |
4300 KB |
Output is correct |
22 |
Correct |
2 ms |
4300 KB |
Output is correct |
23 |
Correct |
3 ms |
4300 KB |
Output is correct |
24 |
Correct |
2 ms |
4300 KB |
Output is correct |
25 |
Correct |
3 ms |
4300 KB |
Output is correct |
26 |
Correct |
3 ms |
4428 KB |
Output is correct |
27 |
Correct |
4 ms |
4428 KB |
Output is correct |
28 |
Correct |
3 ms |
4300 KB |
Output is correct |
29 |
Correct |
3 ms |
4300 KB |
Output is correct |
30 |
Correct |
2 ms |
4300 KB |
Output is correct |
31 |
Correct |
3 ms |
4428 KB |
Output is correct |
32 |
Correct |
3 ms |
4428 KB |
Output is correct |
33 |
Correct |
2 ms |
4428 KB |
Output is correct |
34 |
Correct |
2 ms |
4300 KB |
Output is correct |
35 |
Correct |
2 ms |
4300 KB |
Output is correct |
36 |
Correct |
3 ms |
4300 KB |
Output is correct |
37 |
Correct |
3 ms |
4428 KB |
Output is correct |
38 |
Correct |
2 ms |
4300 KB |
Output is correct |
39 |
Correct |
2 ms |
4300 KB |
Output is correct |
40 |
Correct |
3 ms |
4300 KB |
Output is correct |
41 |
Correct |
4 ms |
4300 KB |
Output is correct |
42 |
Correct |
3 ms |
4300 KB |
Output is correct |
43 |
Correct |
2 ms |
4300 KB |
Output is correct |
44 |
Correct |
2 ms |
4300 KB |
Output is correct |
45 |
Correct |
2 ms |
4300 KB |
Output is correct |
46 |
Correct |
2 ms |
4300 KB |
Output is correct |
47 |
Correct |
3 ms |
4300 KB |
Output is correct |
48 |
Correct |
2 ms |
4300 KB |
Output is correct |
49 |
Correct |
2 ms |
4300 KB |
Output is correct |
50 |
Correct |
5 ms |
4556 KB |
Output is correct |
51 |
Correct |
5 ms |
4556 KB |
Output is correct |
52 |
Correct |
5 ms |
4528 KB |
Output is correct |
53 |
Correct |
5 ms |
4556 KB |
Output is correct |
54 |
Correct |
3 ms |
4428 KB |
Output is correct |
55 |
Correct |
8 ms |
4696 KB |
Output is correct |
56 |
Correct |
8 ms |
4616 KB |
Output is correct |
57 |
Correct |
6 ms |
4556 KB |
Output is correct |
58 |
Correct |
2 ms |
4300 KB |
Output is correct |
59 |
Correct |
3 ms |
4300 KB |
Output is correct |
60 |
Correct |
3 ms |
4428 KB |
Output is correct |
61 |
Correct |
5 ms |
4428 KB |
Output is correct |
62 |
Correct |
3 ms |
4428 KB |
Output is correct |
63 |
Correct |
3 ms |
4428 KB |
Output is correct |
64 |
Correct |
2 ms |
4300 KB |
Output is correct |
65 |
Correct |
4 ms |
4428 KB |
Output is correct |
66 |
Correct |
2 ms |
4300 KB |
Output is correct |
67 |
Correct |
2 ms |
4300 KB |
Output is correct |
68 |
Correct |
2 ms |
4300 KB |
Output is correct |
69 |
Correct |
2 ms |
4300 KB |
Output is correct |
70 |
Correct |
3 ms |
4428 KB |
Output is correct |
71 |
Correct |
866 ms |
36508 KB |
Output is correct |
72 |
Correct |
490 ms |
30140 KB |
Output is correct |
73 |
Correct |
947 ms |
37336 KB |
Output is correct |
74 |
Correct |
372 ms |
19908 KB |
Output is correct |
75 |
Correct |
509 ms |
30076 KB |
Output is correct |
76 |
Correct |
1892 ms |
67020 KB |
Output is correct |
77 |
Correct |
2145 ms |
67772 KB |
Output is correct |
78 |
Correct |
1492 ms |
60584 KB |
Output is correct |
79 |
Correct |
1543 ms |
61628 KB |
Output is correct |
80 |
Correct |
2 ms |
4300 KB |
Output is correct |
81 |
Correct |
3 ms |
4300 KB |
Output is correct |
82 |
Correct |
12 ms |
4936 KB |
Output is correct |
83 |
Correct |
191 ms |
10812 KB |
Output is correct |
84 |
Correct |
175 ms |
11704 KB |
Output is correct |
85 |
Correct |
32 ms |
5984 KB |
Output is correct |
86 |
Correct |
2 ms |
4300 KB |
Output is correct |
87 |
Correct |
198 ms |
10916 KB |
Output is correct |
88 |
Correct |
3 ms |
4300 KB |
Output is correct |
89 |
Correct |
4 ms |
4300 KB |
Output is correct |
90 |
Correct |
2 ms |
4300 KB |
Output is correct |
91 |
Correct |
24 ms |
5216 KB |
Output is correct |
92 |
Correct |
116 ms |
10988 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
2 ms |
4300 KB |
Output is correct |
2 |
Correct |
3 ms |
4300 KB |
Output is correct |
3 |
Correct |
2 ms |
4300 KB |
Output is correct |
4 |
Correct |
2 ms |
4300 KB |
Output is correct |
5 |
Correct |
2 ms |
4300 KB |
Output is correct |
6 |
Correct |
2 ms |
4300 KB |
Output is correct |
7 |
Correct |
2 ms |
4300 KB |
Output is correct |
8 |
Correct |
3 ms |
4300 KB |
Output is correct |
9 |
Correct |
3 ms |
4300 KB |
Output is correct |
10 |
Correct |
2 ms |
4300 KB |
Output is correct |
11 |
Correct |
2 ms |
4300 KB |
Output is correct |
12 |
Correct |
2 ms |
4300 KB |
Output is correct |
13 |
Correct |
2 ms |
4300 KB |
Output is correct |
14 |
Correct |
2 ms |
4300 KB |
Output is correct |
15 |
Correct |
2 ms |
4300 KB |
Output is correct |
16 |
Correct |
2 ms |
4300 KB |
Output is correct |
17 |
Correct |
2 ms |
4300 KB |
Output is correct |
18 |
Correct |
2 ms |
4300 KB |
Output is correct |
19 |
Correct |
2 ms |
4300 KB |
Output is correct |
20 |
Correct |
3 ms |
4300 KB |
Output is correct |
21 |
Correct |
2 ms |
4300 KB |
Output is correct |
22 |
Correct |
2 ms |
4300 KB |
Output is correct |
23 |
Correct |
3 ms |
4300 KB |
Output is correct |
24 |
Correct |
2 ms |
4300 KB |
Output is correct |
25 |
Correct |
3 ms |
4300 KB |
Output is correct |
26 |
Correct |
3 ms |
4428 KB |
Output is correct |
27 |
Correct |
4 ms |
4428 KB |
Output is correct |
28 |
Correct |
3 ms |
4300 KB |
Output is correct |
29 |
Correct |
3 ms |
4300 KB |
Output is correct |
30 |
Correct |
2 ms |
4300 KB |
Output is correct |
31 |
Correct |
3 ms |
4428 KB |
Output is correct |
32 |
Correct |
3 ms |
4428 KB |
Output is correct |
33 |
Correct |
2 ms |
4428 KB |
Output is correct |
34 |
Correct |
2 ms |
4300 KB |
Output is correct |
35 |
Correct |
2 ms |
4300 KB |
Output is correct |
36 |
Correct |
3 ms |
4300 KB |
Output is correct |
37 |
Correct |
3 ms |
4428 KB |
Output is correct |
38 |
Correct |
2 ms |
4300 KB |
Output is correct |
39 |
Correct |
2 ms |
4300 KB |
Output is correct |
40 |
Correct |
3 ms |
4300 KB |
Output is correct |
41 |
Correct |
4 ms |
4300 KB |
Output is correct |
42 |
Correct |
3 ms |
4300 KB |
Output is correct |
43 |
Correct |
2 ms |
4300 KB |
Output is correct |
44 |
Correct |
2 ms |
4300 KB |
Output is correct |
45 |
Correct |
2 ms |
4300 KB |
Output is correct |
46 |
Correct |
2 ms |
4300 KB |
Output is correct |
47 |
Correct |
3 ms |
4300 KB |
Output is correct |
48 |
Correct |
2 ms |
4300 KB |
Output is correct |
49 |
Correct |
2 ms |
4300 KB |
Output is correct |
50 |
Correct |
5 ms |
4556 KB |
Output is correct |
51 |
Correct |
5 ms |
4556 KB |
Output is correct |
52 |
Correct |
5 ms |
4528 KB |
Output is correct |
53 |
Correct |
5 ms |
4556 KB |
Output is correct |
54 |
Correct |
3 ms |
4428 KB |
Output is correct |
55 |
Correct |
8 ms |
4696 KB |
Output is correct |
56 |
Correct |
8 ms |
4616 KB |
Output is correct |
57 |
Correct |
6 ms |
4556 KB |
Output is correct |
58 |
Correct |
2 ms |
4300 KB |
Output is correct |
59 |
Correct |
3 ms |
4300 KB |
Output is correct |
60 |
Correct |
3 ms |
4428 KB |
Output is correct |
61 |
Correct |
5 ms |
4428 KB |
Output is correct |
62 |
Correct |
3 ms |
4428 KB |
Output is correct |
63 |
Correct |
3 ms |
4428 KB |
Output is correct |
64 |
Correct |
2 ms |
4300 KB |
Output is correct |
65 |
Correct |
4 ms |
4428 KB |
Output is correct |
66 |
Correct |
2 ms |
4300 KB |
Output is correct |
67 |
Correct |
2 ms |
4300 KB |
Output is correct |
68 |
Correct |
2 ms |
4300 KB |
Output is correct |
69 |
Correct |
2 ms |
4300 KB |
Output is correct |
70 |
Correct |
3 ms |
4428 KB |
Output is correct |
71 |
Correct |
866 ms |
36508 KB |
Output is correct |
72 |
Correct |
490 ms |
30140 KB |
Output is correct |
73 |
Correct |
947 ms |
37336 KB |
Output is correct |
74 |
Correct |
372 ms |
19908 KB |
Output is correct |
75 |
Correct |
509 ms |
30076 KB |
Output is correct |
76 |
Correct |
1892 ms |
67020 KB |
Output is correct |
77 |
Correct |
2145 ms |
67772 KB |
Output is correct |
78 |
Correct |
1492 ms |
60584 KB |
Output is correct |
79 |
Correct |
1543 ms |
61628 KB |
Output is correct |
80 |
Correct |
2 ms |
4300 KB |
Output is correct |
81 |
Correct |
3 ms |
4300 KB |
Output is correct |
82 |
Correct |
12 ms |
4936 KB |
Output is correct |
83 |
Correct |
191 ms |
10812 KB |
Output is correct |
84 |
Correct |
175 ms |
11704 KB |
Output is correct |
85 |
Correct |
32 ms |
5984 KB |
Output is correct |
86 |
Correct |
2 ms |
4300 KB |
Output is correct |
87 |
Correct |
198 ms |
10916 KB |
Output is correct |
88 |
Correct |
3 ms |
4300 KB |
Output is correct |
89 |
Correct |
4 ms |
4300 KB |
Output is correct |
90 |
Correct |
2 ms |
4300 KB |
Output is correct |
91 |
Correct |
24 ms |
5216 KB |
Output is correct |
92 |
Correct |
116 ms |
10988 KB |
Output is correct |
93 |
Runtime error |
7 ms |
8652 KB |
Execution killed with signal 6 |
94 |
Halted |
0 ms |
0 KB |
- |