QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#214756#6548. Coursesucup-team863#TL 168ms3900kbC++201.5kb2023-10-14 23:40:412023-10-14 23:40:41

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 3524kb

input:

1
1 1 2
5 2

output:

0
4
8
16
32

result:

ok 5 number(s): "0 4 8 16 32"

Test #2:

score: 0
Accepted
time: 0ms
memory: 3456kb

input:

2
1 -1 1
1 1 2
4 2

output:

0
4
8
48

result:

ok 4 number(s): "0 4 8 48"

Test #3:

score: 0
Accepted
time: 9ms
memory: 3632kb

input:

99
1 -1 4155
1 0 1361
1 1 5264
2 -2 1903
2 -1 3676
2 0 9643
2 1 6909
2 2 4902
3 -3 3561
3 -2 8489
3 -1 4948
3 0 1282
3 1 3653
3 2 674
3 3 2220
4 -4 5402
4 -3 6923
4 -2 3831
4 -1 9369
4 0 3878
4 1 259
4 2 9008
4 3 2619
4 4 3971
5 -5 3
5 -4 1945
5 -3 9781
5 -2 6504
5 -1 2392
5 0 2685
5 1 5313
5 2 6698...

output:

6625
87655919
636581604
585696387
17620788
88066998
904901665
846840737
360330214
620333919
136263062
39075213
241172245
519044851
379562425
532682226
777144743
462280426
307921116
700072043
707231396
323401925
598314068
841884023
28387679
166454723
975772805
448135193
488726970
475593671
612544405
...

result:

ok 50 numbers

Test #4:

score: 0
Accepted
time: 56ms
memory: 3628kb

input:

99
1 -1 4155
1 0 1361
1 1 5264
2 -2 1903
2 -1 3676
2 0 9643
2 1 6909
2 2 4902
3 -3 3561
3 -2 8489
3 -1 4948
3 0 1282
3 1 3653
3 2 674
3 3 2220
4 -4 5402
4 -3 6923
4 -2 3831
4 -1 9369
4 0 3878
4 1 259
4 2 9008
4 3 2619
4 4 3971
5 -5 3
5 -4 1945
5 -3 9781
5 -2 6504
5 -1 2392
5 0 2685
5 1 5313
5 2 6698...

output:

0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
222482394
102292681
565355160
333486463
886638230
52090154
281012452
952479247
304932178
295271280
465504333
532380933
466697686
81655090
222769990
649695168
965196638
449484395
193519633
531647625
825384784
972338190
400630002
67150012...

result:

ok 131 numbers

Test #5:

score: 0
Accepted
time: 168ms
memory: 3900kb

input:

99
1 -1 4155
1 0 1361
1 1 5264
2 -2 1903
2 -1 3676
2 0 9643
2 1 6909
2 2 4902
3 -3 3561
3 -2 8489
3 -1 4948
3 0 1282
3 1 3653
3 2 674
3 3 2220
4 -4 5402
4 -3 6923
4 -2 3831
4 -1 9369
4 0 3878
4 1 259
4 2 9008
4 3 2619
4 4 3971
5 -5 3
5 -4 1945
5 -3 9781
5 -2 6504
5 -1 2392
5 0 2685
5 1 5313
5 2 6698...

output:

0
0
0
0
0
0
0
0
0
9347849
942974795
318066180
278731032
587652157
434259249
126876923
16289901
123413264
719603917
254105333
15119937
24263100
889628559
948576022
694493917
964003437
228253365
52984044
254401943
310992697
233279578
253910650
898447558
524407420
957548516
901926896
2245698
91236941
8...

result:

ok 228 numbers

Test #6:

score: 0
Accepted
time: 12ms
memory: 3588kb

input:

99
1 -1 4155
1 0 1361
1 1 5264
2 -2 1903
2 -1 3676
2 0 9643
2 1 6909
2 2 4902
3 -3 3561
3 -2 8489
3 -1 4948
3 0 1282
3 1 3653
3 2 674
3 3 2220
4 -4 5402
4 -3 6923
4 -2 3831
4 -1 9369
4 0 3878
4 1 259
4 2 9008
4 3 2619
4 4 3971
5 -5 3
5 -4 1945
5 -3 9781
5 -2 6504
5 -1 2392
5 0 2685
5 1 5313
5 2 6698...

output:

0
0
0
0
0
0
0
0
0
0
0
823233314
56884775
409561125
803981488
839767063
890265463
385665407
24390958
244235164
479515345
412009151
206386153
128897565
962065073
224758497
357196269
984807250
576030233
223162017
716194180
565496686
166080856
37562000
597023700
855251872
854857206
890776034
760485373
6...

result:

ok 60 numbers

Test #7:

score: 0
Accepted
time: 0ms
memory: 3484kb

input:

1
1 1 1
1 0

output:

1

result:

ok 1 number(s): "1"

Test #8:

score: -100
Time Limit Exceeded

input:

99
1 -1 41
1 0 8467
1 1 6334
2 -2 10000
2 -1 9169
2 0 5724
2 1 1478
2 2 9358
3 -3 0
3 -2 4464
3 -1 5705
3 0 8145
3 1 3281
3 2 6827
3 3 9961
4 -4 491
4 -3 2995
4 -2 1942
4 -1 4827
4 0 5436
4 1 2391
4 2 4604
4 3 3902
4 4 153
5 -5 292
5 -4 2382
5 -3 7421
5 -2 8716
5 -1 9718
5 0 9895
5 1 5447
5 2 1726
5...

output:


result: