QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#824554 | #9770. Middle Point | ucup-team5319# | AC ✓ | 1ms | 4080kb | C++14 | 3.6kb | 2024-12-21 14:39:45 | 2024-12-21 14:39:47 |
Judging History
answer
//Linkwish's code
#include<bits/stdc++.h>
#define endl '\n'
#define si static inline
#define mp make_pair
#define fi first
#define se second
using namespace std;typedef long long ll;typedef __int128 li;
typedef long double ld;
typedef pair<int,int> pii;typedef pair<ll,ll> pll;typedef const int ci;
typedef const ll cl;const int iinf=INT_MAX;const ll linf=LLONG_MAX;
template<typename T>si bool gmax(T &x,const T y){if(x<y)return x=y,1;return 0;}
template<typename T>si bool gmin(T &x,const T y){if(y<x)return x=y,1;return 0;}
namespace LinkWish{
void mian(){
int n, m, x, y; scanf("%d %d %d %d", &n, &m, &x, &y);
if ((x == 0 || x == n) && (y == 0 || y == m)) {
puts("0"); return;
}
if (x == 0 || x == n) {
if (x == 0) n = 0;
int mm = 0; while (m % 2 == 0) m /= 2, mm++;
if (y % m) puts("-1");
else {
y /= m; int M = m, N = 1;m = 1 << mm;
int d = 0; while (d < mm && y % 2 == 0) y /= 2, d++;
int f = mm - d; vector<int> ops[2];
for (int i = 0; i < f; i++) ops[0].push_back(0);
for (int i = 0; i < f; i++) ops[1].push_back(y >> i & 1);
//printf("%d\n", f);
int sx = 0, sy = 0; printf("%d\n", f);
for (int i = 0; i < f; i++) {
int tx = ops[0][i] ? n : 0, ty = ops[1][i] ? m : 0;
printf("%d %d %d %d\n", sx * N + n, sy * M,tx * N + n, ty* M);
sx = (sx + tx) / 2;
sy = (sy + ty) / 2;
}
}
return;
}
if (y == 0 || y == m) {
swap(n, m); swap(x, y);
if (x == 0) n = 0;
int mm = 0; while (m % 2 == 0) m /= 2, mm++;
if (y % m) puts("-1");
else {
y /= m; int M = m, N = 1;m = 1 << mm;
int d = 0; while (d < mm && y % 2 == 0) y /= 2, d++;
int f = mm - d; vector<int> ops[2];
for (int i = 0; i < f; i++) ops[0].push_back(0);
for (int i = 0; i < f; i++) ops[1].push_back(y >> i & 1);
//printf("%d\n", f);
int sx = 0, sy = 0; printf("%d\n", f);
for (int i = 0; i < f; i++) {
int tx = ops[0][i] ? n : 0, ty = ops[1][i] ? m : 0;
printf("%d %d %d %d\n", sy * M, sx * N + n, ty* M,tx * N + n);
sx = (sx + tx) / 2;
sy = (sy + ty) / 2;
}
}
return;
}
int nn = 0, mm = 0, xx = 0, yy = 0;
while (n % 2 == 0) n /= 2, nn++;
while (m % 2 == 0) m /= 2, mm++;
if (x % n || y % m) puts("-1");
else {
x /= n; y /= m; int N = n, M = m;
n = 1 << nn; m = 1 << mm;
//printf("%d %d %d %d\n", n, m, x, y);
while (xx < nn && (x >> (xx + 1) << (xx + 1)) == x) xx++;
while (yy < mm && (y >> (yy + 1) << (yy + 1)) == y) yy++;
int dx = nn - xx, dy = mm - yy;
//printf("dxdy %d %d\n", dx, dy);
// nn - xx max(dx, dy)
x >>= xx; x <<= max(dx, dy) - dx;
y >>= yy; y <<= max(dx, dy) - dy;
//printf("xy %d %d\n", x, y);
vector<int> ops[2];
for (int i = 0; i < max(dx, dy); i++) if (x >> i & 1) ops[0].push_back(1); else ops[0].push_back(0);
for (int i = 0; i < max(dx, dy); i++) if (y >> i & 1) ops[1].push_back(1); else ops[1].push_back(0);
//for (int x : ops[1]) printf("%d\n", x);
//if (dx <= dy) {
//}
int sx = 0, sy = 0; printf("%d\n", max(dx, dy));
for (int i = 0; i < max(dx, dy); i++) {
int tx = ops[0][i] ? n : 0, ty = ops[1][i] ? m : 0;
printf("%d %d %d %d\n", sx * N, sy * M,tx * N, ty* M);
sx = (sx + tx) / 2;
sy = (sy + ty) / 2;
}
}
}
}
signed main(){
#ifndef ONLINE_JUDGE
freopen("in.in","r",stdin);
freopen("out.out","w",stdout);
#endif
ios::sync_with_stdio(0);
cin.tie(0),cout.tie(0);
LinkWish::mian();
return 0;
}
这程序好像有点Bug,我给组数据试试?
詳細信息
Test #1:
score: 100
Accepted
time: 1ms
memory: 3812kb
input:
2 2 1 1
output:
1 0 0 2 2
result:
ok correct!
Test #2:
score: 0
Accepted
time: 1ms
memory: 3852kb
input:
8 8 5 0
output:
3 0 0 8 0 4 0 0 0 2 0 8 0
result:
ok correct!
Test #3:
score: 0
Accepted
time: 1ms
memory: 3952kb
input:
0 0 0 0
output:
0
result:
ok correct!
Test #4:
score: 0
Accepted
time: 0ms
memory: 3756kb
input:
2024 0 1012 0
output:
1 0 0 2024 0
result:
ok correct!
Test #5:
score: 0
Accepted
time: 1ms
memory: 3700kb
input:
2024 2024 2023 2023
output:
-1
result:
ok correct!
Test #6:
score: 0
Accepted
time: 1ms
memory: 3896kb
input:
8 6 7 3
output:
3 0 0 8 0 4 0 8 0 6 0 8 6
result:
ok correct!
Test #7:
score: 0
Accepted
time: 1ms
memory: 3744kb
input:
2024 2026 2024 2026
output:
0
result:
ok correct!
Test #8:
score: 0
Accepted
time: 1ms
memory: 3748kb
input:
1000000000 1000000000 70 0
output:
-1
result:
ok correct!
Test #9:
score: 0
Accepted
time: 0ms
memory: 3740kb
input:
3 6 2 4
output:
-1
result:
ok correct!
Test #10:
score: 0
Accepted
time: 1ms
memory: 3704kb
input:
7 7 7 2
output:
-1
result:
ok correct!
Test #11:
score: 0
Accepted
time: 1ms
memory: 3744kb
input:
6 2 5 2
output:
-1
result:
ok correct!
Test #12:
score: 0
Accepted
time: 1ms
memory: 3744kb
input:
5 7 5 5
output:
-1
result:
ok correct!
Test #13:
score: 0
Accepted
time: 1ms
memory: 3964kb
input:
4 7 2 3
output:
-1
result:
ok correct!
Test #14:
score: 0
Accepted
time: 0ms
memory: 3876kb
input:
8 2 2 2
output:
2 0 2 8 2 4 2 0 2
result:
ok correct!
Test #15:
score: 0
Accepted
time: 1ms
memory: 3680kb
input:
3 3 0 2
output:
-1
result:
ok correct!
Test #16:
score: 0
Accepted
time: 0ms
memory: 3632kb
input:
7 7 1 4
output:
-1
result:
ok correct!
Test #17:
score: 0
Accepted
time: 1ms
memory: 3952kb
input:
6 3 6 1
output:
-1
result:
ok correct!
Test #18:
score: 0
Accepted
time: 0ms
memory: 3852kb
input:
4 2 2 1
output:
1 0 0 4 2
result:
ok correct!
Test #19:
score: 0
Accepted
time: 1ms
memory: 3952kb
input:
7 2 3 2
output:
-1
result:
ok correct!
Test #20:
score: 0
Accepted
time: 1ms
memory: 3660kb
input:
2 7 0 3
output:
-1
result:
ok correct!
Test #21:
score: 0
Accepted
time: 1ms
memory: 3600kb
input:
1 7 1 0
output:
0
result:
ok correct!
Test #22:
score: 0
Accepted
time: 1ms
memory: 3572kb
input:
5 1 0 0
output:
0
result:
ok correct!
Test #23:
score: 0
Accepted
time: 1ms
memory: 3740kb
input:
8 7 4 3
output:
-1
result:
ok correct!
Test #24:
score: 0
Accepted
time: 1ms
memory: 3748kb
input:
180057652 674822131 110693180 428023738
output:
-1
result:
ok correct!
Test #25:
score: 0
Accepted
time: 0ms
memory: 3940kb
input:
62347541 812142018 42922107 486416913
output:
-1
result:
ok correct!
Test #26:
score: 0
Accepted
time: 1ms
memory: 3660kb
input:
239604722 244429197 78993837 108804105
output:
-1
result:
ok correct!
Test #27:
score: 0
Accepted
time: 1ms
memory: 3688kb
input:
416861903 381749084 375027630 373683256
output:
-1
result:
ok correct!
Test #28:
score: 0
Accepted
time: 0ms
memory: 3624kb
input:
594119084 519068971 429116021 298715088
output:
-1
result:
ok correct!
Test #29:
score: 0
Accepted
time: 1ms
memory: 3804kb
input:
536870912 536870912 233225286 372408647
output:
29 0 0 0 536870912 0 268435456 536870912 536870912 268435456 402653184 536870912 536870912 402653184 469762048 0 0 201326592 234881024 0 0 100663296 117440512 0 0 50331648 58720256 536870912 536870912 293601280 297795584 0 0 146800640 148897792 0 536870912 73400320 342884352 0 0 36700160 171442176 5...
result:
ok correct!
Test #30:
score: 0
Accepted
time: 1ms
memory: 4052kb
input:
536870912 536870912 242171716 210314503
output:
29 0 0 0 536870912 0 268435456 0 536870912 0 402653184 536870912 536870912 268435456 469762048 0 0 134217728 234881024 0 0 67108864 117440512 0 0 33554432 58720256 536870912 0 285212672 29360128 0 0 142606336 14680064 536870912 536870912 339738624 275775488 536870912 0 438304768 137887744 536870912 ...
result:
ok correct!
Test #31:
score: 0
Accepted
time: 1ms
memory: 4080kb
input:
536870912 536870912 251118145 48220392
output:
29 0 0 536870912 0 268435456 0 0 0 134217728 0 0 0 67108864 0 0 536870912 33554432 268435456 0 0 16777216 134217728 0 536870912 8388608 335544320 536870912 536870912 272629760 436207616 0 536870912 136314880 486539264 0 0 68157440 243269632 536870912 0 302514176 121634816 0 0 151257088 60817408 0 53...
result:
ok correct!
Test #32:
score: 0
Accepted
time: 1ms
memory: 3808kb
input:
126070784 536870912 70206899 483718753
output:
29 0 0 0 536870912 0 268435456 0 0 0 134217728 0 0 0 67108864 0 0 0 33554432 0 0 0 16777216 0 536870912 0 276824064 0 536870912 0 406847488 0 0 0 203423744 0 0 0 101711872 0 536870912 0 319291392 0 536870912 0 428081152 0 0 0 214040576 0 536870912 0 375455744 0 536870912 0 456163328 0 536870912 0 49...
result:
ok correct!
Test #33:
score: 0
Accepted
time: 1ms
memory: 4080kb
input:
134541312 536870912 92168682 321624642
output:
28 0 0 0 536870912 0 268435456 0 0 0 134217728 0 0 0 67108864 0 0 0 33554432 0 0 0 16777216 0 536870912 0 276824064 0 0 0 138412032 0 0 0 69206016 0 536870912 0 303038464 0 0 0 151519232 0 536870912 0 344195072 0 536870912 0 440532992 0 0 0 220266496 0 0 0 110133248 0 536870912 0 323502080 0 5368709...
result:
ok correct!
Test #34:
score: 0
Accepted
time: 0ms
memory: 3800kb
input:
605171712 536870912 492293004 159530531
output:
29 0 0 0 536870912 0 268435456 0 536870912 0 402653184 0 0 0 201326592 0 0 0 100663296 0 0 0 50331648 0 536870912 0 293601280 0 0 0 146800640 0 0 0 73400320 0 0 0 36700160 0 536870912 0 286785536 0 536870912 0 411828224 0 536870912 0 474349568 0 536870912 0 505610240 0 536870912 0 521240576 0 0 0 26...
result:
ok correct!
Test #35:
score: 0
Accepted
time: 1ms
memory: 3804kb
input:
816447488 872415232 107288296 282864296
output:
23 0 0 0 872415232 0 436207616 0 0 0 218103808 0 0 0 109051904 0 872415232 0 490733568 0 0 0 245366784 0 872415232 0 558891008 0 872415232 0 715653120 0 0 0 357826560 0 0 0 178913280 816447488 0 408223744 89456640 0 0 204111872 44728320 0 0 102055936 22364160 816447488 0 459251712 11182080 0 0 22962...
result:
ok correct!
Test #36:
score: 0
Accepted
time: 1ms
memory: 3804kb
input:
465043456 805306368 155625924 290419248
output:
24 0 0 0 805306368 0 402653184 0 0 0 201326592 0 0 0 100663296 0 0 0 50331648 0 0 0 25165824 0 805306368 0 415236096 0 805306368 0 610271232 465043456 0 232521728 305135616 465043456 0 348782592 152567808 465043456 805306368 406913024 478937088 0 0 203456512 239468544 465043456 0 334249984 119734272...
result:
ok correct!
Test #37:
score: 0
Accepted
time: 1ms
memory: 3828kb
input:
246022144 587202560 78513033 233147565
output:
24 0 0 0 587202560 0 293601280 0 587202560 0 440401920 0 587202560 0 513802240 0 587202560 0 550502400 0 0 0 275251200 0 587202560 0 431226880 0 587202560 0 509214720 246022144 587202560 123011072 548208640 0 0 61505536 274104320 246022144 0 153763840 137052160 0 587202560 76881920 362127360 0 0 384...
result:
ok correct!
Test #38:
score: 0
Accepted
time: 1ms
memory: 3896kb
input:
536870912 699163134 414335415 699163134
output:
29 0 699163134 536870912 699163134 268435456 699163134 536870912 699163134 402653184 699163134 536870912 699163134 469762048 699163134 0 699163134 234881024 699163134 536870912 699163134 385875968 699163134 536870912 699163134 461373440 699163134 0 699163134 230686720 699163134 536870912 699163134 3...
result:
ok correct!
Test #39:
score: 0
Accepted
time: 0ms
memory: 3812kb
input:
536870912 292943687 423281845 292943687
output:
29 0 292943687 536870912 292943687 268435456 292943687 0 292943687 134217728 292943687 536870912 292943687 335544320 292943687 0 292943687 167772160 292943687 536870912 292943687 352321536 292943687 536870912 292943687 444596224 292943687 0 292943687 222298112 292943687 536870912 292943687 379584512...
result:
ok correct!
Test #40:
score: 0
Accepted
time: 1ms
memory: 3832kb
input:
536870912 31948433 432228266 0
output:
28 0 0 536870912 0 268435456 0 0 0 134217728 0 536870912 0 335544320 0 0 0 167772160 0 536870912 0 352321536 0 0 0 176160768 0 536870912 0 356515840 0 536870912 0 446693376 0 536870912 0 491782144 0 536870912 0 514326528 0 0 0 257163264 0 0 0 128581632 0 0 0 64290816 0 536870912 0 300580864 0 0 0 15...
result:
ok correct!
Test #41:
score: 0
Accepted
time: 1ms
memory: 4052kb
input:
603979776 243951872 111389958 152469920
output:
25 0 0 603979776 0 301989888 0 603979776 0 452984832 0 0 0 226492416 0 603979776 0 415236096 0 0 0 207618048 0 603979776 0 405798912 0 0 0 202899456 0 0 0 101449728 0 603979776 0 352714752 0 0 0 176357376 0 603979776 0 390168576 0 603979776 0 497074176 0 0 0 248537088 0 603979776 0 426258432 0 60397...
result:
ok correct!
Test #42:
score: 0
Accepted
time: 1ms
memory: 3832kb
input:
603979776 892103744 85336938 585443082
output:
25 0 0 603979776 0 301989888 0 0 0 150994944 0 603979776 0 377487360 0 603979776 0 490733568 0 0 0 245366784 0 0 0 122683392 0 603979776 0 363331584 0 0 0 181665792 0 603979776 0 392822784 0 603979776 0 498401280 0 603979776 0 551190528 0 0 0 275595264 0 603979776 0 439787520 0 0 0 219893760 0 60397...
result:
ok correct!
Test #43:
score: 0
Accepted
time: 1ms
memory: 3832kb
input:
67108864 893081440 6587231 502358310
output:
26 0 0 67108864 0 33554432 0 67108864 0 50331648 0 67108864 0 58720256 0 67108864 0 62914560 0 67108864 0 65011712 0 0 0 32505856 0 67108864 0 49807360 0 0 0 24903680 0 67108864 0 46006272 0 67108864 0 56557568 0 0 0 28278784 0 0 0 14139392 0 0 0 7069696 0 0 0 3534848 0 0 0 1767424 0 67108864 0 3443...
result:
ok correct!
Test #44:
score: 0
Accepted
time: 1ms
memory: 3808kb
input:
536870912 536870912 233225286 536870912
output:
28 0 536870912 536870912 536870912 268435456 536870912 536870912 536870912 402653184 536870912 0 536870912 201326592 536870912 0 536870912 100663296 536870912 0 536870912 50331648 536870912 536870912 536870912 293601280 536870912 0 536870912 146800640 536870912 0 536870912 73400320 536870912 0 53687...
result:
ok correct!
Test #45:
score: 0
Accepted
time: 1ms
memory: 3800kb
input:
536870912 536870912 242171716 536870912
output:
27 0 536870912 536870912 536870912 268435456 536870912 0 536870912 134217728 536870912 0 536870912 67108864 536870912 0 536870912 33554432 536870912 536870912 536870912 285212672 536870912 0 536870912 142606336 536870912 536870912 536870912 339738624 536870912 536870912 536870912 438304768 536870912...
result:
ok correct!
Test #46:
score: 0
Accepted
time: 0ms
memory: 3856kb
input:
536870912 536870912 536870912 48220392
output:
26 536870912 0 536870912 536870912 536870912 268435456 536870912 0 536870912 134217728 536870912 536870912 536870912 335544320 536870912 536870912 536870912 436207616 536870912 536870912 536870912 486539264 536870912 0 536870912 243269632 536870912 0 536870912 121634816 536870912 0 536870912 6081740...
result:
ok correct!
Test #47:
score: 0
Accepted
time: 1ms
memory: 3796kb
input:
126070784 536870912 70206899 0
output:
12 0 0 126070784 0 63035392 0 0 0 31517696 0 0 0 15758848 0 126070784 0 70914816 0 0 0 35457408 0 126070784 0 80764096 0 126070784 0 103417440 0 126070784 0 114744112 0 0 0 57372056 0 0 0 28686028 0 0 0 14343014 0 126070784 0
result:
ok correct!
Test #48:
score: 0
Accepted
time: 1ms
memory: 3816kb
input:
536870912 536870912 33554432 1835008
output:
11 0 0 0 536870912 0 268435456 0 536870912 0 402653184 0 536870912 0 469762048 0 0 0 234881024 0 0 0 117440512 0 0 0 58720256 0 0 0 29360128 536870912 0 268435456 14680064 0 0 134217728 7340032 0 0 67108864 3670016 0 0
result:
ok correct!
Test #49:
score: 0
Accepted
time: 1ms
memory: 3880kb
input:
134541312 536870912 0 321624642
output:
28 0 0 0 536870912 0 268435456 0 0 0 134217728 0 0 0 67108864 0 0 0 33554432 0 0 0 16777216 0 536870912 0 276824064 0 0 0 138412032 0 0 0 69206016 0 536870912 0 303038464 0 0 0 151519232 0 536870912 0 344195072 0 536870912 0 440532992 0 0 0 220266496 0 0 0 110133248 0 536870912 0 323502080 0 5368709...
result:
ok correct!
Test #50:
score: 0
Accepted
time: 1ms
memory: 3756kb
input:
605171712 536870912 605171712 159530531
output:
29 605171712 0 605171712 536870912 605171712 268435456 605171712 536870912 605171712 402653184 605171712 0 605171712 201326592 605171712 0 605171712 100663296 605171712 0 605171712 50331648 605171712 536870912 605171712 293601280 605171712 0 605171712 146800640 605171712 0 605171712 73400320 6051717...
result:
ok correct!
Test #51:
score: 0
Accepted
time: 1ms
memory: 3812kb
input:
816447488 872415232 107288296 872415232
output:
14 0 872415232 816447488 872415232 408223744 872415232 0 872415232 204111872 872415232 0 872415232 102055936 872415232 816447488 872415232 459251712 872415232 0 872415232 229625856 872415232 816447488 872415232 523036672 872415232 816447488 872415232 669742080 872415232 0 872415232 334871040 8724152...
result:
ok correct!
Test #52:
score: 0
Accepted
time: 1ms
memory: 3816kb
input:
465043456 805306368 155625924 805306368
output:
17 0 805306368 465043456 805306368 232521728 805306368 465043456 805306368 348782592 805306368 465043456 805306368 406913024 805306368 0 805306368 203456512 805306368 465043456 805306368 334249984 805306368 0 805306368 167124992 805306368 465043456 805306368 316084224 805306368 0 805306368 158042112...
result:
ok correct!
Test #53:
score: 0
Accepted
time: 1ms
memory: 3804kb
input:
246022144 587202560 0 233147565
output:
24 0 0 0 587202560 0 293601280 0 587202560 0 440401920 0 587202560 0 513802240 0 587202560 0 550502400 0 0 0 275251200 0 587202560 0 431226880 0 587202560 0 509214720 0 587202560 0 548208640 0 0 0 274104320 0 0 0 137052160 0 587202560 0 362127360 0 0 0 181063680 0 0 0 90531840 0 587202560 0 33886720...
result:
ok correct!
Test #54:
score: 0
Accepted
time: 1ms
memory: 3624kb
input:
536870912 699163134 0 699163134
output:
0
result:
ok correct!
Test #55:
score: 0
Accepted
time: 1ms
memory: 4052kb
input:
536870912 292943687 423281845 0
output:
29 0 0 536870912 0 268435456 0 0 0 134217728 0 536870912 0 335544320 0 0 0 167772160 0 536870912 0 352321536 0 536870912 0 444596224 0 0 0 222298112 0 536870912 0 379584512 0 0 0 189792256 0 0 0 94896128 0 536870912 0 315883520 0 0 0 157941760 0 0 0 78970880 0 0 0 39485440 0 536870912 0 288178176 0 ...
result:
ok correct!
Test #56:
score: 0
Accepted
time: 0ms
memory: 3628kb
input:
536870912 31948433 0 0
output:
0
result:
ok correct!
Test #57:
score: 0
Accepted
time: 1ms
memory: 3808kb
input:
603979776 243951872 603979776 152469920
output:
3 603979776 0 603979776 243951872 603979776 121975936 603979776 0 603979776 60987968 603979776 243951872
result:
ok correct!
Test #58:
score: 0
Accepted
time: 1ms
memory: 4068kb
input:
603979776 892103744 603979776 585443082
output:
5 603979776 0 603979776 892103744 603979776 446051872 603979776 0 603979776 223025936 603979776 892103744 603979776 557564840 603979776 0 603979776 278782420 603979776 892103744
result:
ok correct!
Test #59:
score: 0
Accepted
time: 0ms
memory: 3788kb
input:
67108864 893081440 6587231 893081440
output:
26 0 893081440 67108864 893081440 33554432 893081440 67108864 893081440 50331648 893081440 67108864 893081440 58720256 893081440 67108864 893081440 62914560 893081440 67108864 893081440 65011712 893081440 0 893081440 32505856 893081440 67108864 893081440 49807360 893081440 0 893081440 24903680 89308...
result:
ok correct!
Test #60:
score: 0
Accepted
time: 1ms
memory: 4080kb
input:
276307968 0 139739247 0
output:
13 0 0 276307968 0 138153984 0 276307968 0 207230976 0 276307968 0 241769472 0 276307968 0 259038720 0 0 0 129519360 0 276307968 0 202913664 0 0 0 101456832 0 0 0 50728416 0 0 0 25364208 0 0 0 12682104 0 0 0 6341052 0 0 0 3170526 0 276307968 0
result:
ok correct!
Test #61:
score: 0
Accepted
time: 1ms
memory: 3752kb
input:
0 365756416 0 136488936
output:
13 0 0 0 365756416 0 182878208 0 0 0 91439104 0 0 0 45719552 0 0 0 22859776 0 365756416 0 194308096 0 365756416 0 280032256 0 365756416 0 322894336 0 365756416 0 344325376 0 365756416 0 355040896 0 365756416 0 360398656 0 0 0 180199328 0 365756416 0 272977872 0 0
result:
ok correct!
Test #62:
score: 0
Accepted
time: 0ms
memory: 3804kb
input:
0 214958080 0 164104960
output:
12 0 0 0 214958080 0 107479040 0 214958080 0 161218560 0 214958080 0 188088320 0 0 0 94044160 0 214958080 0 154501120 0 214958080 0 184729600 0 0 0 92364800 0 0 0 46182400 0 0 0 23091200 0 0 0 11545600 0 214958080 0 113251840 0 214958080
result:
ok correct!
Test #63:
score: 0
Accepted
time: 1ms
memory: 3812kb
input:
713613312 0 122478066 0
output:
12 0 0 713613312 0 356806656 0 713613312 0 535209984 0 713613312 0 624411648 0 713613312 0 669012480 0 713613312 0 691312896 0 713613312 0 702463104 0 0 0 351231552 0 713613312 0 532422432 0 0 0 266211216 0 713613312 0 489912264 0 0 0 244956132 0 0 0
result:
ok correct!
Test #64:
score: 0
Accepted
time: 1ms
memory: 3828kb
input:
0 122953728 0 4427655
output:
13 0 0 0 122953728 0 61476864 0 122953728 0 92215296 0 122953728 0 107584512 0 0 0 53792256 0 0 0 26896128 0 122953728 0 74924928 0 0 0 37462464 0 0 0 18731232 0 122953728 0 70842480 0 0 0 35421240 0 0 0 17710620 0 0 0 8855310 0 0
result:
ok correct!
Test #65:
score: 0
Accepted
time: 1ms
memory: 3792kb
input:
0 268435456 0 36705241
output:
28 0 0 0 268435456 0 134217728 0 0 0 67108864 0 0 0 33554432 0 268435456 0 150994944 0 268435456 0 209715200 0 0 0 104857600 0 268435456 0 186646528 0 268435456 0 227540992 0 268435456 0 247988224 0 268435456 0 258211840 0 0 0 129105920 0 0 0 64552960 0 268435456 0 166494208 0 0 0 83247104 0 0 0 416...
result:
ok correct!
Test #66:
score: 0
Accepted
time: 1ms
memory: 3808kb
input:
0 805306368 0 482227593
output:
28 0 0 0 805306368 0 402653184 0 805306368 0 603979776 0 0 0 301989888 0 0 0 150994944 0 0 0 75497472 0 0 0 37748736 0 0 0 18874368 0 805306368 0 412090368 0 0 0 206045184 0 0 0 103022592 0 805306368 0 454164480 0 805306368 0 629735424 0 805306368 0 717520896 0 805306368 0 761413632 0 0 0 380706816 ...
result:
ok correct!
Test #67:
score: 0
Accepted
time: 1ms
memory: 4072kb
input:
805306368 0 635586921 0
output:
28 0 0 805306368 0 402653184 0 805306368 0 603979776 0 0 0 301989888 0 0 0 150994944 0 0 0 75497472 0 805306368 0 440401920 0 0 0 220200960 0 0 0 110100480 0 805306368 0 457703424 0 805306368 0 631504896 0 0 0 315752448 0 0 0 157876224 0 0 0 78938112 0 0 0 39469056 0 805306368 0 422387712 0 80530636...
result:
ok correct!
Test #68:
score: 0
Accepted
time: 0ms
memory: 3816kb
input:
0 805306368 0 421144629
output:
28 0 0 0 805306368 0 402653184 0 805306368 0 603979776 0 805306368 0 704643072 0 0 0 352321536 0 0 0 176160768 0 805306368 0 490733568 0 805306368 0 648019968 0 0 0 324009984 0 805306368 0 564658176 0 0 0 282329088 0 805306368 0 543817728 0 805306368 0 674562048 0 0 0 337281024 0 0 0 168640512 0 0 0...
result:
ok correct!
Test #69:
score: 0
Accepted
time: 1ms
memory: 3900kb
input:
268435456 0 149676330 0
output:
27 0 0 268435456 0 134217728 0 0 0 67108864 0 268435456 0 167772160 0 0 0 83886080 0 268435456 0 176160768 0 0 0 88080384 0 0 0 44040192 0 268435456 0 156237824 0 0 0 78118912 0 0 0 39059456 0 0 0 19529728 0 0 0 9764864 0 268435456 0 139100160 0 268435456 0 203767808 0 268435456 0 236101632 0 268435...
result:
ok correct!
Extra Test:
score: 0
Extra Test Passed