QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#37141#1279. Distinct NumberHuangHanShengRE 1ms1696kbC++141.1kb2022-06-30 13:13:582022-06-30 13:14:00

详细

Test #1:

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

input:

3
2 1
1 2
343 34345
1 3
1 3
1 123242343
1 1000000000000000000

output:

2
3
32768

result:

ok 3 tokens

Test #2:

score: -100
Runtime Error

input:

902
5 35
2 17
19 24
32 55
59 63
73 97
5 55
3 17
35 37
38 39
43 82
87 88
1 37
46 88
4 79
1 9
40 56
56 56
57 78
8 61
5 7
19 21
27 33
34 36
36 38
59 73
77 79
94 97
2 86
0 23
72 78
7 43
5 10
12 21
22 34
36 58
65 71
72 88
91 99
9 74
16 24
31 41
44 48
48 49
51 51
57 57
61 65
69 71
85 93
4 85
5 44
46 47
54...

output:


result: