QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#540065#8932. Bingoucup-team4708#TL 115ms144396kbC++144.2kb2024-08-31 16:21:432024-08-31 16:21:43

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 115ms
memory: 144396kb

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:

1962822800 
6148143300 
2814581100 
751244058 
7822266300 
1767317781 
1897098475 
613375690 
5526792338 
9460821800 
4976750654 
7787300365 
3107672668 
4811342000 
2654961331 
2944040562 
2845521810 
1114254674 
4421300000 
3744046880 
2896243675 
4779353556 
1292587554 
5046746789 
2898829200 
78...

result: