QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#374321#3716. Simple Arithmeticucup-team1383TL 0ms0kbC++17675b2024-04-02 13:40:402024-04-02 13:40:42

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Time Limit Exceeded

input:

3 2
3 -2
-9223372036854775808 1
-9223372036854775808 -1
9223372036854775807 1
9223372036854775807 -1
-9223372036854775808 2
-9223372036854775808 -2
9223372036854775807 2
9223372036854775807 -2
-2076046199237518199 8895005889588087898
-3939164353449408 -1673591601308294572
236330652387008908 24746725...

output:

1
-2
-9223372036854775808
9223372036854775808
9223372036854775807
-9223372036854775807
-4611686018427387904
4611686018427387904
4611686018427387903
-4611686018427387904
0
0
0
0
0
2
-2
0
0
-2
1
0
0
-2
1
0
-37
0
0
3
0
8
0
8
0
0
-2
0
0
2
8
0
0
0
-2
0
-5
-7
0
-2
-3
0
1
0
-11
0
2
0
11
8
0
0
0
0
0
-2
-42
...

result: