QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#784519#7082. Edges CountingDream Of The Void (Zhuo Zhang, Congding Wen, Minlu He) #TL 1ms3832kbC++231.9kb2024-11-26 15:13:562024-11-26 15:13:57

詳細信息

Test #1:

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

input:

7 998244353
1
2
3
4
5
6
7

output:

0
0
3
60
1050
19380
393750

result:

ok 7 tokens

Test #2:

score: -100
Time Limit Exceeded

input:

3000 1053818881
1256
234
2691
86
1204
2625
904
1996
2937
2621
1117
2922
299
864
2321
1836
1966
481
2514
1911
432
1807
1624
1362
1507
242
2434
2979
1244
996
506
2861
1957
1187
1199
331
2656
601
133
737
466
1904
2499
28
945
1680
2624
1318
2430
546
1342
948
835
233
84
1145
1630
1931
2992
1181
2261
2817...

output:


result: