QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#383332#6748. Spin the WheelHuangHanShengTL 0ms0kbC++171.2kb2024-04-09 10:10:532024-04-09 10:10:54

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Time Limit Exceeded

input:

5
1 3 0 2 4

output:

1
3 0 1 2 
0 1 2 3 

2
2 0 2 0 
0 2 0 2 

3
3 2 1 0 
0 3 2 1 

4
3 3 3 3 
0 0 0 0 

5
1 2 3 0 
0 1 2 3 

6
1 3 1 3 
0 2 0 2 

7
1 0 3 2 
0 3 2 1 

8
1 1 1 1 
0 0 0 0 

9
1 2 3 0 
0 1 2 3 

10
1 3 1 3 
0 2 0 2 

11
1 0 3 2 
0 3 2 1 

12
1 1 1 1 
0 0 0 0 

13
1 2 3 0 
0 1 2 3 

14
1 3 1 3 
0 2 0 2 

1...

result: