#include<bits/stdc++.h>
#include "vision.h"
#define fi first
#define se second
#define ll long long
using namespace std ;
vector<int> abu ;
//int add_xor(vector<int> v)
//{
// int num = 0 ;
// cout << "XOR ? " ;
// for(int i : v)
// {
// num ^= abu[i] ;
// cout << i << ' ' ;
// }
// cout << '\n' ;
// abu.push_back(num) ;
// return abu.size() - 1 ;
//}
//int add_or(vector<int> v)
//{
// int num = 0 ;
// cout << "OR ? " ;
// for(int i : v)
// {
// num |= abu[i] ;
// cout << i << ' ' ;
// }
// cout << '\n' ;
// abu.push_back(num) ;
// return abu.size() - 1 ;
//}
//int add_and(vector<int> v)
//{
// int num = abu[v[0]] ;
// cout << "AND ? " ;
// for(int i : v)
// {
// num &= abu[i] ;
// cout << i << ' ' ;
// }
// abu.push_back(num) ;
// cout << '\n' ;
// return abu.size() - 1 ;
//}
void construct_network(int n, int m, int k)
{
vector<int> arr_l, arr_l_two, arr_l_k1, arr_l_k, arr_r, arr_r_two, arr_r_k1, arr_r_k ;
for(int i = n - 1 ; i >= 0 ; i--)
{
int x = i, y = 0 ;
vector<int> now ;
while(x < n && y < m)
{
now.push_back(x * m + y) ;
x++ ;
y++ ;
}
arr_l.push_back(add_or(now)) ;
}
for(int i = 1 ; i < m ; i++)
{
int x = 0, y = i ;
vector<int> now ;
while(x < n && y < m)
{
now.push_back(x * m + y) ;
x++ ;
y++ ;
}
arr_l.push_back(add_or(now)) ;
}
for(int i = n - 1 ; i >= 0 ; i--)
{
int x = i, y = 0 ;
vector<int> now ;
while(x < n && y < m)
{
now.push_back(x * m + y) ;
x++ ;
y++ ;
}
arr_l_two.push_back(add_and({add_xor(arr_l), add_or(now)})) ;
}
for(int i = 1 ; i < m ; i++)
{
int x = 0, y = i ;
vector<int> now ;
while(x < n && y < m)
{
now.push_back(x * m + y) ;
x++ ;
y++ ;
}
arr_l_two.push_back(add_and({add_xor(arr_l), add_or(now)})) ;
}
for(int i = k - 1 ; i < arr_l.size() ; i++)
{
vector<int> now, now1 ;
for(int j = i - k + 1 ; j <= i ; j++)
now.push_back(arr_l[j]), now1.push_back(arr_l_two[j]) ;
int num = add_xor({add_xor(now), add_or(now)}) ;
now1.push_back(num) ;
arr_l_k.push_back(add_or(now1)) ;
}
for(int i = k ; i < arr_l.size() ; i++)
{
vector<int> now, now1 ;
for(int j = i - k ; j <= i ; j++)
now.push_back(arr_l[j]), now1.push_back(arr_l_two[j]) ;
int num = add_xor({add_xor(now), add_or(now)}) ;
now1.push_back(num) ;
arr_l_k1.push_back(add_or(now1)) ;
}
for(int i = 0 ; i < m ; i++)
{
int x = 0, y = i ;
vector<int> now ;
while(x < n && y >= 0)
{
now.push_back(x * m + y) ;
x++ ;
y-- ;
}
arr_r.push_back(add_or(now)) ;
}
for(int i = 1 ; i < n ; i++)
{
int x = i, y = m - 1 ;
vector<int> now ;
while(x < n && y >= 0)
{
now.push_back(x * m + y) ;
x++ ;
y-- ;
}
arr_r.push_back(add_or(now)) ;
}
for(int i = 0 ; i < m ; i++)
{
int x = 0, y = i ;
vector<int> now ;
while(x < n && y >= 0)
{
now.push_back(x * m + y) ;
x++ ;
y-- ;
}
arr_r_two.push_back({add_and({add_xor(arr_r), add_or(now)})}) ;
}
for(int i = 1 ; i < n ; i++)
{
int x = i, y = m - 1 ;
vector<int> now ;
while(x < n && y >= 0)
{
now.push_back(x * m + y) ;
x++ ;
y-- ;
}
arr_r_two.push_back(add_and({add_xor(arr_r), add_or(now)})) ;
}
for(int i = k - 1 ; i < arr_r.size() ; i++)
{
vector<int> now, now1 ;
for(int j = i - k + 1 ; j <= i ; j++)
now.push_back(arr_r[j]), now1.push_back(arr_r_two[j]) ;
int num = add_xor({add_xor(now), add_or(now)}) ;
now1.push_back(num) ;
arr_r_k.push_back(add_or(now1)) ;
}
for(int i = k ; i < arr_r.size() ; i++)
{
vector<int> now, now1 ;
for(int j = i - k ; j <= i ; j++)
now.push_back(arr_r[j]), now1.push_back(arr_r_two[j]) ;
int num = add_xor({add_xor(now), add_or(now)}) ;
now1.push_back(num) ;
arr_r_k1.push_back(add_or(now1)) ;
}
int num1 = add_and({add_or(arr_r_k1), add_or(arr_l_k1)}), num2 = add_and({add_or(arr_r_k), add_or(arr_l_k)}) ;
add_xor({num1, num2}) ;
// cout << "Left\n" ;
// for(int i : arr_l)
// cout << abu[i] << ' ' ;
// cout << '\n' ;
// cout << "Left dist k\n" ;
// for(int i : arr_l_k)
// cout << abu[i] << ' ' ;
// cout << '\n' ;
// cout << "Left dist k + 1\n" ;
// for(int i : arr_l_k1)
// cout << abu[i] << ' ' ;
// cout << '\n' ;
// cout << "Right\n" ;
// for(int i : arr_r)
// cout << abu[i] << ' ' ;
// cout << '\n' ;
// cout << "Right dist k\n" ;
// for(int i : arr_r_k)
// cout << abu[i] << ' ' ;
// cout << '\n' ;
// cout << "Right dist k + 1\n" ;
// for(int i : arr_r_k1)
// cout << abu[i] << ' ' ;
// cout << '\n' ;
}
//signed main()
//{
// int t ;
// cin >> t ;
// while(t--)
// {
// int n, m, k ;
// cin >> n >> m >> k ;
// for(int i = 0 ; i < n ; i++)
// for(int j = 0 ; j < m ; j++)
// {
// int a ;
// cin >> a ;
// abu.push_back(a) ;
// }
// construct_network(n, m, k) ;
// for(int i : abu)
// cout << i << ' ' ;
// cout << '\n' ;
// abu.clear() ;
// }
// return 0 ;
//}
//1
//2 2 2
//1 0
//0 1
Compilation message
vision.cpp: In function 'void construct_network(int, int, int)':
vision.cpp:98:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
98 | for(int i = k - 1 ; i < arr_l.size() ; i++)
| ~~^~~~~~~~~~~~~~
vision.cpp:107:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
107 | for(int i = k ; i < arr_l.size() ; i++)
| ~~^~~~~~~~~~~~~~
vision.cpp:164:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
164 | for(int i = k - 1 ; i < arr_r.size() ; i++)
| ~~^~~~~~~~~~~~~~
vision.cpp:173:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
173 | for(int i = k ; i < arr_r.size() ; i++)
| ~~^~~~~~~~~~~~~~
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
0 ms |
212 KB |
Output is correct |
2 |
Correct |
0 ms |
212 KB |
Output is correct |
3 |
Correct |
0 ms |
212 KB |
Output is correct |
4 |
Correct |
0 ms |
212 KB |
Output is correct |
5 |
Correct |
0 ms |
212 KB |
Output is correct |
6 |
Correct |
0 ms |
212 KB |
Output is correct |
7 |
Correct |
0 ms |
212 KB |
Output is correct |
8 |
Correct |
0 ms |
212 KB |
Output is correct |
9 |
Correct |
0 ms |
212 KB |
Output is correct |
10 |
Correct |
1 ms |
212 KB |
Output is correct |
11 |
Correct |
0 ms |
212 KB |
Output is correct |
12 |
Correct |
0 ms |
212 KB |
Output is correct |
13 |
Correct |
0 ms |
212 KB |
Output is correct |
14 |
Correct |
0 ms |
212 KB |
Output is correct |
15 |
Correct |
0 ms |
212 KB |
Output is correct |
16 |
Correct |
0 ms |
212 KB |
Output is correct |
17 |
Correct |
0 ms |
212 KB |
Output is correct |
18 |
Correct |
1 ms |
212 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
0 ms |
212 KB |
Output is correct |
2 |
Correct |
0 ms |
212 KB |
Output is correct |
3 |
Correct |
0 ms |
212 KB |
Output is correct |
4 |
Correct |
0 ms |
212 KB |
Output is correct |
5 |
Correct |
0 ms |
212 KB |
Output is correct |
6 |
Correct |
0 ms |
212 KB |
Output is correct |
7 |
Correct |
0 ms |
212 KB |
Output is correct |
8 |
Correct |
0 ms |
212 KB |
Output is correct |
9 |
Correct |
0 ms |
212 KB |
Output is correct |
10 |
Correct |
1 ms |
212 KB |
Output is correct |
11 |
Correct |
0 ms |
212 KB |
Output is correct |
12 |
Correct |
0 ms |
212 KB |
Output is correct |
13 |
Correct |
0 ms |
212 KB |
Output is correct |
14 |
Correct |
0 ms |
212 KB |
Output is correct |
15 |
Correct |
0 ms |
212 KB |
Output is correct |
16 |
Correct |
0 ms |
212 KB |
Output is correct |
17 |
Correct |
0 ms |
212 KB |
Output is correct |
18 |
Correct |
1 ms |
212 KB |
Output is correct |
19 |
Correct |
0 ms |
212 KB |
Output is correct |
20 |
Correct |
0 ms |
212 KB |
Output is correct |
21 |
Correct |
0 ms |
212 KB |
Output is correct |
22 |
Correct |
0 ms |
212 KB |
Output is correct |
23 |
Correct |
1 ms |
340 KB |
Output is correct |
24 |
Correct |
1 ms |
340 KB |
Output is correct |
25 |
Correct |
1 ms |
212 KB |
Output is correct |
26 |
Correct |
1 ms |
212 KB |
Output is correct |
27 |
Correct |
1 ms |
212 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
0 ms |
212 KB |
Output is correct |
2 |
Correct |
0 ms |
212 KB |
Output is correct |
3 |
Correct |
0 ms |
212 KB |
Output is correct |
4 |
Correct |
0 ms |
212 KB |
Output is correct |
5 |
Correct |
0 ms |
212 KB |
Output is correct |
6 |
Correct |
0 ms |
212 KB |
Output is correct |
7 |
Correct |
0 ms |
212 KB |
Output is correct |
8 |
Correct |
0 ms |
212 KB |
Output is correct |
9 |
Correct |
0 ms |
212 KB |
Output is correct |
10 |
Correct |
1 ms |
212 KB |
Output is correct |
11 |
Correct |
0 ms |
212 KB |
Output is correct |
12 |
Correct |
0 ms |
212 KB |
Output is correct |
13 |
Correct |
0 ms |
212 KB |
Output is correct |
14 |
Correct |
0 ms |
212 KB |
Output is correct |
15 |
Correct |
0 ms |
212 KB |
Output is correct |
16 |
Correct |
0 ms |
212 KB |
Output is correct |
17 |
Correct |
0 ms |
212 KB |
Output is correct |
18 |
Correct |
1 ms |
212 KB |
Output is correct |
19 |
Correct |
0 ms |
212 KB |
Output is correct |
20 |
Correct |
0 ms |
212 KB |
Output is correct |
21 |
Correct |
0 ms |
212 KB |
Output is correct |
22 |
Correct |
0 ms |
212 KB |
Output is correct |
23 |
Correct |
1 ms |
340 KB |
Output is correct |
24 |
Correct |
1 ms |
340 KB |
Output is correct |
25 |
Correct |
1 ms |
212 KB |
Output is correct |
26 |
Correct |
1 ms |
212 KB |
Output is correct |
27 |
Correct |
1 ms |
212 KB |
Output is correct |
28 |
Correct |
2 ms |
468 KB |
Output is correct |
29 |
Correct |
1 ms |
340 KB |
Output is correct |
30 |
Correct |
1 ms |
340 KB |
Output is correct |
31 |
Correct |
1 ms |
340 KB |
Output is correct |
32 |
Correct |
1 ms |
340 KB |
Output is correct |
33 |
Correct |
2 ms |
468 KB |
Output is correct |
34 |
Correct |
2 ms |
468 KB |
Output is correct |
35 |
Correct |
2 ms |
484 KB |
Output is correct |
36 |
Correct |
2 ms |
468 KB |
Output is correct |
37 |
Correct |
1 ms |
340 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
0 ms |
212 KB |
Output is correct |
2 |
Correct |
0 ms |
212 KB |
Output is correct |
3 |
Correct |
0 ms |
212 KB |
Output is correct |
4 |
Correct |
0 ms |
212 KB |
Output is correct |
5 |
Correct |
0 ms |
212 KB |
Output is correct |
6 |
Correct |
0 ms |
212 KB |
Output is correct |
7 |
Correct |
0 ms |
212 KB |
Output is correct |
8 |
Correct |
0 ms |
212 KB |
Output is correct |
9 |
Correct |
0 ms |
212 KB |
Output is correct |
10 |
Correct |
1 ms |
212 KB |
Output is correct |
11 |
Correct |
0 ms |
212 KB |
Output is correct |
12 |
Correct |
0 ms |
212 KB |
Output is correct |
13 |
Correct |
0 ms |
212 KB |
Output is correct |
14 |
Correct |
0 ms |
212 KB |
Output is correct |
15 |
Correct |
0 ms |
212 KB |
Output is correct |
16 |
Correct |
0 ms |
212 KB |
Output is correct |
17 |
Correct |
0 ms |
212 KB |
Output is correct |
18 |
Correct |
1 ms |
212 KB |
Output is correct |
19 |
Correct |
0 ms |
212 KB |
Output is correct |
20 |
Correct |
0 ms |
212 KB |
Output is correct |
21 |
Correct |
0 ms |
212 KB |
Output is correct |
22 |
Correct |
0 ms |
212 KB |
Output is correct |
23 |
Correct |
1 ms |
340 KB |
Output is correct |
24 |
Correct |
1 ms |
340 KB |
Output is correct |
25 |
Correct |
1 ms |
212 KB |
Output is correct |
26 |
Correct |
1 ms |
212 KB |
Output is correct |
27 |
Correct |
1 ms |
212 KB |
Output is correct |
28 |
Correct |
2 ms |
468 KB |
Output is correct |
29 |
Correct |
1 ms |
340 KB |
Output is correct |
30 |
Correct |
1 ms |
340 KB |
Output is correct |
31 |
Correct |
1 ms |
340 KB |
Output is correct |
32 |
Correct |
1 ms |
340 KB |
Output is correct |
33 |
Correct |
2 ms |
468 KB |
Output is correct |
34 |
Correct |
2 ms |
468 KB |
Output is correct |
35 |
Correct |
2 ms |
484 KB |
Output is correct |
36 |
Correct |
2 ms |
468 KB |
Output is correct |
37 |
Correct |
1 ms |
340 KB |
Output is correct |
38 |
Correct |
18 ms |
2592 KB |
Output is correct |
39 |
Correct |
4 ms |
740 KB |
Output is correct |
40 |
Correct |
4 ms |
596 KB |
Output is correct |
41 |
Correct |
7 ms |
1108 KB |
Output is correct |
42 |
Correct |
6 ms |
916 KB |
Output is correct |
43 |
Correct |
11 ms |
1744 KB |
Output is correct |
44 |
Correct |
18 ms |
2588 KB |
Output is correct |
45 |
Correct |
20 ms |
2856 KB |
Output is correct |
46 |
Correct |
17 ms |
2388 KB |
Output is correct |
47 |
Correct |
10 ms |
1492 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
10 ms |
1232 KB |
Output is correct |
2 |
Correct |
16 ms |
2096 KB |
Output is correct |
3 |
Correct |
16 ms |
2132 KB |
Output is correct |
4 |
Correct |
7 ms |
1108 KB |
Output is correct |
5 |
Correct |
9 ms |
1232 KB |
Output is correct |
6 |
Correct |
15 ms |
2132 KB |
Output is correct |
7 |
Correct |
15 ms |
2004 KB |
Output is correct |
8 |
Correct |
7 ms |
1080 KB |
Output is correct |
9 |
Correct |
8 ms |
1360 KB |
Output is correct |
10 |
Correct |
14 ms |
1968 KB |
Output is correct |
11 |
Correct |
17 ms |
2124 KB |
Output is correct |
12 |
Correct |
20 ms |
2168 KB |
Output is correct |
13 |
Correct |
14 ms |
1876 KB |
Output is correct |
14 |
Correct |
7 ms |
1068 KB |
Output is correct |
15 |
Correct |
8 ms |
1232 KB |
Output is correct |
16 |
Correct |
14 ms |
1968 KB |
Output is correct |
17 |
Correct |
16 ms |
2132 KB |
Output is correct |
18 |
Correct |
16 ms |
2168 KB |
Output is correct |
19 |
Correct |
14 ms |
1820 KB |
Output is correct |
20 |
Correct |
8 ms |
1108 KB |
Output is correct |
21 |
Correct |
0 ms |
212 KB |
Output is correct |
22 |
Correct |
0 ms |
212 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
0 ms |
212 KB |
Output is correct |
2 |
Correct |
0 ms |
212 KB |
Output is correct |
3 |
Correct |
5 ms |
852 KB |
Output is correct |
4 |
Correct |
8 ms |
1108 KB |
Output is correct |
5 |
Correct |
8 ms |
1236 KB |
Output is correct |
6 |
Correct |
7 ms |
1108 KB |
Output is correct |
7 |
Correct |
4 ms |
724 KB |
Output is correct |
8 |
Correct |
9 ms |
1360 KB |
Output is correct |
9 |
Correct |
14 ms |
1852 KB |
Output is correct |
10 |
Correct |
18 ms |
2128 KB |
Output is correct |
11 |
Correct |
13 ms |
1796 KB |
Output is correct |
12 |
Correct |
8 ms |
1204 KB |
Output is correct |
13 |
Correct |
8 ms |
1232 KB |
Output is correct |
14 |
Correct |
15 ms |
1988 KB |
Output is correct |
15 |
Correct |
15 ms |
1928 KB |
Output is correct |
16 |
Correct |
7 ms |
1032 KB |
Output is correct |
17 |
Correct |
8 ms |
1236 KB |
Output is correct |
18 |
Correct |
17 ms |
2132 KB |
Output is correct |
19 |
Correct |
7 ms |
1108 KB |
Output is correct |
20 |
Correct |
28 ms |
3432 KB |
Output is correct |
21 |
Correct |
40 ms |
5460 KB |
Output is correct |
22 |
Correct |
41 ms |
5468 KB |
Output is correct |
23 |
Correct |
21 ms |
3028 KB |
Output is correct |
24 |
Correct |
23 ms |
3292 KB |
Output is correct |
25 |
Correct |
43 ms |
5764 KB |
Output is correct |
26 |
Correct |
22 ms |
3028 KB |
Output is correct |
27 |
Correct |
41 ms |
5656 KB |
Output is correct |
28 |
Correct |
68 ms |
9056 KB |
Output is correct |
29 |
Correct |
76 ms |
10184 KB |
Output is correct |
30 |
Correct |
67 ms |
8828 KB |
Output is correct |
31 |
Correct |
38 ms |
5252 KB |
Output is correct |
32 |
Correct |
0 ms |
212 KB |
Output is correct |
33 |
Correct |
0 ms |
212 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
41 ms |
5740 KB |
Output is correct |
2 |
Correct |
1 ms |
212 KB |
Output is correct |
3 |
Correct |
7 ms |
852 KB |
Output is correct |
4 |
Correct |
8 ms |
1360 KB |
Output is correct |
5 |
Correct |
8 ms |
1232 KB |
Output is correct |
6 |
Correct |
8 ms |
1232 KB |
Output is correct |
7 |
Correct |
23 ms |
3356 KB |
Output is correct |
8 |
Correct |
23 ms |
3280 KB |
Output is correct |
9 |
Correct |
42 ms |
5632 KB |
Output is correct |
10 |
Correct |
0 ms |
212 KB |
Output is correct |
11 |
Correct |
0 ms |
212 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
0 ms |
212 KB |
Output is correct |
2 |
Correct |
0 ms |
212 KB |
Output is correct |
3 |
Correct |
0 ms |
212 KB |
Output is correct |
4 |
Correct |
0 ms |
212 KB |
Output is correct |
5 |
Correct |
0 ms |
212 KB |
Output is correct |
6 |
Correct |
0 ms |
212 KB |
Output is correct |
7 |
Correct |
0 ms |
212 KB |
Output is correct |
8 |
Correct |
0 ms |
212 KB |
Output is correct |
9 |
Correct |
0 ms |
212 KB |
Output is correct |
10 |
Correct |
1 ms |
212 KB |
Output is correct |
11 |
Correct |
0 ms |
212 KB |
Output is correct |
12 |
Correct |
0 ms |
212 KB |
Output is correct |
13 |
Correct |
0 ms |
212 KB |
Output is correct |
14 |
Correct |
0 ms |
212 KB |
Output is correct |
15 |
Correct |
0 ms |
212 KB |
Output is correct |
16 |
Correct |
0 ms |
212 KB |
Output is correct |
17 |
Correct |
0 ms |
212 KB |
Output is correct |
18 |
Correct |
1 ms |
212 KB |
Output is correct |
19 |
Correct |
0 ms |
212 KB |
Output is correct |
20 |
Correct |
0 ms |
212 KB |
Output is correct |
21 |
Correct |
0 ms |
212 KB |
Output is correct |
22 |
Correct |
0 ms |
212 KB |
Output is correct |
23 |
Correct |
1 ms |
340 KB |
Output is correct |
24 |
Correct |
1 ms |
340 KB |
Output is correct |
25 |
Correct |
1 ms |
212 KB |
Output is correct |
26 |
Correct |
1 ms |
212 KB |
Output is correct |
27 |
Correct |
1 ms |
212 KB |
Output is correct |
28 |
Correct |
2 ms |
468 KB |
Output is correct |
29 |
Correct |
1 ms |
340 KB |
Output is correct |
30 |
Correct |
1 ms |
340 KB |
Output is correct |
31 |
Correct |
1 ms |
340 KB |
Output is correct |
32 |
Correct |
1 ms |
340 KB |
Output is correct |
33 |
Correct |
2 ms |
468 KB |
Output is correct |
34 |
Correct |
2 ms |
468 KB |
Output is correct |
35 |
Correct |
2 ms |
484 KB |
Output is correct |
36 |
Correct |
2 ms |
468 KB |
Output is correct |
37 |
Correct |
1 ms |
340 KB |
Output is correct |
38 |
Correct |
18 ms |
2592 KB |
Output is correct |
39 |
Correct |
4 ms |
740 KB |
Output is correct |
40 |
Correct |
4 ms |
596 KB |
Output is correct |
41 |
Correct |
7 ms |
1108 KB |
Output is correct |
42 |
Correct |
6 ms |
916 KB |
Output is correct |
43 |
Correct |
11 ms |
1744 KB |
Output is correct |
44 |
Correct |
18 ms |
2588 KB |
Output is correct |
45 |
Correct |
20 ms |
2856 KB |
Output is correct |
46 |
Correct |
17 ms |
2388 KB |
Output is correct |
47 |
Correct |
10 ms |
1492 KB |
Output is correct |
48 |
Correct |
10 ms |
1232 KB |
Output is correct |
49 |
Correct |
16 ms |
2096 KB |
Output is correct |
50 |
Correct |
16 ms |
2132 KB |
Output is correct |
51 |
Correct |
7 ms |
1108 KB |
Output is correct |
52 |
Correct |
9 ms |
1232 KB |
Output is correct |
53 |
Correct |
15 ms |
2132 KB |
Output is correct |
54 |
Correct |
15 ms |
2004 KB |
Output is correct |
55 |
Correct |
7 ms |
1080 KB |
Output is correct |
56 |
Correct |
8 ms |
1360 KB |
Output is correct |
57 |
Correct |
14 ms |
1968 KB |
Output is correct |
58 |
Correct |
17 ms |
2124 KB |
Output is correct |
59 |
Correct |
20 ms |
2168 KB |
Output is correct |
60 |
Correct |
14 ms |
1876 KB |
Output is correct |
61 |
Correct |
7 ms |
1068 KB |
Output is correct |
62 |
Correct |
8 ms |
1232 KB |
Output is correct |
63 |
Correct |
14 ms |
1968 KB |
Output is correct |
64 |
Correct |
16 ms |
2132 KB |
Output is correct |
65 |
Correct |
16 ms |
2168 KB |
Output is correct |
66 |
Correct |
14 ms |
1820 KB |
Output is correct |
67 |
Correct |
8 ms |
1108 KB |
Output is correct |
68 |
Correct |
0 ms |
212 KB |
Output is correct |
69 |
Correct |
0 ms |
212 KB |
Output is correct |
70 |
Correct |
0 ms |
212 KB |
Output is correct |
71 |
Correct |
0 ms |
212 KB |
Output is correct |
72 |
Correct |
5 ms |
852 KB |
Output is correct |
73 |
Correct |
8 ms |
1108 KB |
Output is correct |
74 |
Correct |
8 ms |
1236 KB |
Output is correct |
75 |
Correct |
7 ms |
1108 KB |
Output is correct |
76 |
Correct |
4 ms |
724 KB |
Output is correct |
77 |
Correct |
9 ms |
1360 KB |
Output is correct |
78 |
Correct |
14 ms |
1852 KB |
Output is correct |
79 |
Correct |
18 ms |
2128 KB |
Output is correct |
80 |
Correct |
13 ms |
1796 KB |
Output is correct |
81 |
Correct |
8 ms |
1204 KB |
Output is correct |
82 |
Correct |
8 ms |
1232 KB |
Output is correct |
83 |
Correct |
15 ms |
1988 KB |
Output is correct |
84 |
Correct |
15 ms |
1928 KB |
Output is correct |
85 |
Correct |
7 ms |
1032 KB |
Output is correct |
86 |
Correct |
8 ms |
1236 KB |
Output is correct |
87 |
Correct |
17 ms |
2132 KB |
Output is correct |
88 |
Correct |
7 ms |
1108 KB |
Output is correct |
89 |
Correct |
28 ms |
3432 KB |
Output is correct |
90 |
Correct |
40 ms |
5460 KB |
Output is correct |
91 |
Correct |
41 ms |
5468 KB |
Output is correct |
92 |
Correct |
21 ms |
3028 KB |
Output is correct |
93 |
Correct |
23 ms |
3292 KB |
Output is correct |
94 |
Correct |
43 ms |
5764 KB |
Output is correct |
95 |
Correct |
22 ms |
3028 KB |
Output is correct |
96 |
Correct |
41 ms |
5656 KB |
Output is correct |
97 |
Correct |
68 ms |
9056 KB |
Output is correct |
98 |
Correct |
76 ms |
10184 KB |
Output is correct |
99 |
Correct |
67 ms |
8828 KB |
Output is correct |
100 |
Correct |
38 ms |
5252 KB |
Output is correct |
101 |
Correct |
0 ms |
212 KB |
Output is correct |
102 |
Correct |
0 ms |
212 KB |
Output is correct |
103 |
Correct |
41 ms |
5740 KB |
Output is correct |
104 |
Correct |
1 ms |
212 KB |
Output is correct |
105 |
Correct |
7 ms |
852 KB |
Output is correct |
106 |
Correct |
8 ms |
1360 KB |
Output is correct |
107 |
Correct |
8 ms |
1232 KB |
Output is correct |
108 |
Correct |
8 ms |
1232 KB |
Output is correct |
109 |
Correct |
23 ms |
3356 KB |
Output is correct |
110 |
Correct |
23 ms |
3280 KB |
Output is correct |
111 |
Correct |
42 ms |
5632 KB |
Output is correct |
112 |
Correct |
0 ms |
212 KB |
Output is correct |
113 |
Correct |
0 ms |
212 KB |
Output is correct |
114 |
Correct |
68 ms |
9032 KB |
Output is correct |
115 |
Correct |
8 ms |
1104 KB |
Output is correct |
116 |
Correct |
8 ms |
1232 KB |
Output is correct |
117 |
Correct |
33 ms |
4488 KB |
Output is correct |
118 |
Correct |
35 ms |
4712 KB |
Output is correct |
119 |
Correct |
88 ms |
10024 KB |
Output is correct |
120 |
Correct |
76 ms |
10000 KB |
Output is correct |
121 |
Correct |
76 ms |
10044 KB |
Output is correct |
122 |
Correct |
79 ms |
10124 KB |
Output is correct |
123 |
Correct |
40 ms |
5676 KB |
Output is correct |
124 |
Correct |
71 ms |
9120 KB |
Output is correct |
125 |
Correct |
76 ms |
10204 KB |
Output is correct |
126 |
Correct |
80 ms |
10180 KB |
Output is correct |
127 |
Correct |
68 ms |
8812 KB |
Output is correct |
128 |
Correct |
40 ms |
5200 KB |
Output is correct |