QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#203188 | #2478. Tobacco Growing | DreamOn# | AC ✓ | 1ms | 3848kb | C++23 | 2.0kb | 2023-10-06 16:02:23 | 2023-10-06 16:02:23 |
Judging History
answer
#include <algorithm>
#include <iostream>
#include <cstring>
#include <cstdio>
#include <vector>
#include <cmath>
#define LL long long
using namespace std;
LL read() {
LL x = 0, f = 1;
char c = getchar();
while(c < '0' || c > '9') {
if(c == '-') f = -1;
c = getchar();
}
while('0' <= c && c <= '9') {
x = x * 10 + c - '0';
c = getchar();
}
return x * f;
}
LL n, val[65], tmp[65], dv[65], maxdv, single;
int main() {
n = read();
val[1] = 1;
int day = 0;
while(val[1] * 2 + val[2] <= n) {
++day;
for(int i = 1; i <= 60; ++i) tmp[i] = val[i];
for(int i = 1; i <= 60; ++i) {
if(i == 1) val[i] = tmp[i] * 2 + tmp[i + 1];
else val[i] = tmp[i] + tmp[i + 1] + tmp[i - 1];
}
}
LL rest = n;
for(int i = 1; i <= 60; ++i) {
dv[i] = rest / val[i];
rest %= val[i];
if(val[i] == 1) {single = dv[i]; break;}
else maxdv = max(maxdv, dv[i]);
}
/*
for(int i = 1; i <= 60; ++i) cout << val[i] << " ";
cout << endl << endl;
for(int i = 1; i <= 60; ++i) cout << dv[i] << " ";
cout << endl;
*/
LL C = 124 * maxdv + single, H = 0, D = day;
printf("%d\n", C);
for(int i = 1; i <= maxdv; ++i) {
int y = i * 2 - 1;
for(int x = -61; x <= 62; ++x) {
if(x == 0 || x == 1) printf("%d %d 1\n", x, y);
else printf("%d %d 0\n", x, y);
}
}
for(int i = 1; i <= single; ++i) {
int x = i * 2 - 1, y = -5;
printf("%d %d 1\n", x, y);
}
for(int i = 1; i <= 60; ++i) H += dv[i];
printf("%d %d\n", H, D);
for(int i = 1; i <= 60; ++i) {
if(val[i] == 1) break;
for(int j = 1; j <= dv[i]; ++j) {
int x = i, y = j * 2 - 1;
printf("%d %d\n", x, y);
}
}
for(int i = 1; i <= single; ++i) {
int x = i * 2 - 1, y = -5;
printf("%d %d\n", x, y);
}
return 0;
}
詳細信息
Test #1:
score: 100
Accepted
time: 0ms
memory: 3544kb
input:
1
output:
1 1 -5 1 1 0 1 -5
result:
ok correct solution!
Test #2:
score: 0
Accepted
time: 0ms
memory: 3788kb
input:
0
output:
0 0 0
result:
ok correct solution!
Test #3:
score: 0
Accepted
time: 1ms
memory: 3612kb
input:
14
output:
125 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #4:
score: 0
Accepted
time: 0ms
memory: 3620kb
input:
1000000000000000000
output:
904 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #5:
score: 0
Accepted
time: 1ms
memory: 3544kb
input:
999999999999999999
output:
903 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #6:
score: 0
Accepted
time: 0ms
memory: 3480kb
input:
999999999999999998
output:
902 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #7:
score: 0
Accepted
time: 1ms
memory: 3776kb
input:
999999999999999997
output:
901 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #8:
score: 0
Accepted
time: 0ms
memory: 3772kb
input:
999999999999999996
output:
900 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #9:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
999999999999999995
output:
899 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #10:
score: 0
Accepted
time: 1ms
memory: 3564kb
input:
999999999999999994
output:
898 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #11:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
999999999999999993
output:
897 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #12:
score: 0
Accepted
time: 1ms
memory: 3596kb
input:
999999999999999992
output:
896 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #13:
score: 0
Accepted
time: 1ms
memory: 3572kb
input:
999999999999999991
output:
895 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #14:
score: 0
Accepted
time: 0ms
memory: 3568kb
input:
35298
output:
258 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #15:
score: 0
Accepted
time: 0ms
memory: 3472kb
input:
69839
output:
258 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #16:
score: 0
Accepted
time: 0ms
memory: 3604kb
input:
64552
output:
372 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #17:
score: 0
Accepted
time: 0ms
memory: 3620kb
input:
9330
output:
251 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #18:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
39491
output:
505 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #19:
score: 0
Accepted
time: 1ms
memory: 3600kb
input:
140506867
output:
376 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #20:
score: 0
Accepted
time: 0ms
memory: 3484kb
input:
414385616
output:
374 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #21:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
82559469
output:
496 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #22:
score: 0
Accepted
time: 1ms
memory: 3616kb
input:
95538099
output:
1005 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0...
result:
ok correct solution!
Test #23:
score: 0
Accepted
time: 0ms
memory: 3484kb
input:
184040515
output:
512 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #24:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
4
output:
248 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #25:
score: 0
Accepted
time: 0ms
memory: 3540kb
input:
3
output:
125 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #26:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
5
output:
124 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #27:
score: 0
Accepted
time: 0ms
memory: 3484kb
input:
8
output:
124 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #28:
score: 0
Accepted
time: 0ms
memory: 3740kb
input:
7
output:
126 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #29:
score: 0
Accepted
time: 0ms
memory: 3512kb
input:
9
output:
125 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #30:
score: 0
Accepted
time: 0ms
memory: 3744kb
input:
16
output:
127 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #31:
score: 0
Accepted
time: 1ms
memory: 3568kb
input:
15
output:
126 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #32:
score: 0
Accepted
time: 0ms
memory: 3540kb
input:
17
output:
124 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #33:
score: 0
Accepted
time: 1ms
memory: 3768kb
input:
32
output:
250 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #34:
score: 0
Accepted
time: 0ms
memory: 3624kb
input:
31
output:
249 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #35:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
33
output:
251 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #36:
score: 0
Accepted
time: 1ms
memory: 3564kb
input:
64
output:
127 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #37:
score: 0
Accepted
time: 0ms
memory: 3620kb
input:
63
output:
126 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #38:
score: 0
Accepted
time: 0ms
memory: 3568kb
input:
65
output:
128 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #39:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
128
output:
248 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #40:
score: 0
Accepted
time: 0ms
memory: 3604kb
input:
127
output:
129 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #41:
score: 0
Accepted
time: 0ms
memory: 3516kb
input:
129
output:
249 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #42:
score: 0
Accepted
time: 0ms
memory: 3568kb
input:
256
output:
373 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #43:
score: 0
Accepted
time: 0ms
memory: 3564kb
input:
255
output:
372 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #44:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
257
output:
248 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #45:
score: 0
Accepted
time: 0ms
memory: 3788kb
input:
512
output:
126 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #46:
score: 0
Accepted
time: 0ms
memory: 3848kb
input:
511
output:
125 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #47:
score: 0
Accepted
time: 0ms
memory: 3548kb
input:
513
output:
127 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #48:
score: 0
Accepted
time: 0ms
memory: 3740kb
input:
1024
output:
125 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #49:
score: 0
Accepted
time: 0ms
memory: 3844kb
input:
1023
output:
124 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #50:
score: 0
Accepted
time: 0ms
memory: 3624kb
input:
1025
output:
126 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #51:
score: 0
Accepted
time: 0ms
memory: 3508kb
input:
2048
output:
248 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #52:
score: 0
Accepted
time: 1ms
memory: 3616kb
input:
2047
output:
255 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #53:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
2049
output:
249 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #54:
score: 0
Accepted
time: 0ms
memory: 3568kb
input:
18014398509481984
output:
1250 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0...
result:
ok correct solution!
Test #55:
score: 0
Accepted
time: 1ms
memory: 3560kb
input:
18014398509481983
output:
1249 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0...
result:
ok correct solution!
Test #56:
score: 0
Accepted
time: 0ms
memory: 3556kb
input:
18014398509481985
output:
1251 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0...
result:
ok correct solution!
Test #57:
score: 0
Accepted
time: 1ms
memory: 3516kb
input:
36028797018963968
output:
1993 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0...
result:
ok correct solution!
Test #58:
score: 0
Accepted
time: 1ms
memory: 3620kb
input:
36028797018963967
output:
1992 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0...
result:
ok correct solution!
Test #59:
score: 0
Accepted
time: 1ms
memory: 3776kb
input:
36028797018963969
output:
1994 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0...
result:
ok correct solution!
Test #60:
score: 0
Accepted
time: 1ms
memory: 3600kb
input:
72057594037927936
output:
1877 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0...
result:
ok correct solution!
Test #61:
score: 0
Accepted
time: 1ms
memory: 3516kb
input:
72057594037927935
output:
1876 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0...
result:
ok correct solution!
Test #62:
score: 0
Accepted
time: 0ms
memory: 3736kb
input:
72057594037927937
output:
1878 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0...
result:
ok correct solution!
Test #63:
score: 0
Accepted
time: 1ms
memory: 3616kb
input:
144115188075855872
output:
1019 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0...
result:
ok correct solution!
Test #64:
score: 0
Accepted
time: 1ms
memory: 3556kb
input:
144115188075855871
output:
1018 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0...
result:
ok correct solution!
Test #65:
score: 0
Accepted
time: 0ms
memory: 3604kb
input:
144115188075855873
output:
1020 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0...
result:
ok correct solution!
Test #66:
score: 0
Accepted
time: 0ms
memory: 3568kb
input:
288230376151711744
output:
993 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #67:
score: 0
Accepted
time: 0ms
memory: 3848kb
input:
288230376151711743
output:
992 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #68:
score: 0
Accepted
time: 1ms
memory: 3596kb
input:
288230376151711745
output:
994 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!
Test #69:
score: 0
Accepted
time: 1ms
memory: 3480kb
input:
576460752303423488
output:
2378 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0...
result:
ok correct solution!
Test #70:
score: 0
Accepted
time: 1ms
memory: 3560kb
input:
576460752303423487
output:
2377 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0...
result:
ok correct solution!
Test #71:
score: 0
Accepted
time: 1ms
memory: 3744kb
input:
576460752303423489
output:
2379 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0...
result:
ok correct solution!
Test #72:
score: 0
Accepted
time: 0ms
memory: 3744kb
input:
13
output:
124 -61 1 0 -60 1 0 -59 1 0 -58 1 0 -57 1 0 -56 1 0 -55 1 0 -54 1 0 -53 1 0 -52 1 0 -51 1 0 -50 1 0 -49 1 0 -48 1 0 -47 1 0 -46 1 0 -45 1 0 -44 1 0 -43 1 0 -42 1 0 -41 1 0 -40 1 0 -39 1 0 -38 1 0 -37 1 0 -36 1 0 -35 1 0 -34 1 0 -33 1 0 -32 1 0 -31 1 0 -30 1 0 -29 1 0 -28 1 0 -27 1 0 -26 1 0 -25 1 0 ...
result:
ok correct solution!