QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#540397#8932. Bingoucup-team4708#TL 134ms144692kbC++143.6kb2024-08-31 16:59:092024-08-31 16:59:10

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 134ms
memory: 144692kb

input:

6
7 3
12 3
9 10
249 51
1369 37
2 1

output:

9 
13 
10
251 
1370 
3 

result:

ok 6 lines

Test #2:

score: -100
Time Limit Exceeded

input:

100000
3196282243 28
7614814237 33
2814581084 97
1075124401 58
7822266214 100
1767317768 31
7189709841 75
9061337538 69
6552679231 38
9946082148 18
5497675062 54
7787300351 65
4310767261 68
4811341953 100
3265496130 31
8294404054 62
2845521744 90
1114254672 26
6442013672 13
3744046866 40
3289624367 ...

output:

3196282264 
7614814251 
2814581097 
1075124424 
7822266300 
1767317781 
7189709850 
9061337569 
6552679238 
9946082160 
5497675092 
7787300365 
4310767268 
4811342000 
3265496131 
8294404062 
2845521790 
1114254674 
6442013682 
3744046880 
3289624375 
6477935360 
1292587551 
5504674689 
2898829180 
...

result: