QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#383332#6748. Spin the WheelHuangHanShengTL 0ms0kbC++171.2kb2024-04-09 10:10:532024-04-09 10:10:54

详细

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: