标准错误流
Traceback (most recent call last):
File "/sandbox/2/a.py", line 4, in <module>
r= list(map(int,input().split()))
EOFError: EOF when reading a line
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 1
编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#1840 | #997. 内讧 | Wrong Answer | 14 | 499 ms | 2936 K | Python 3 / 388 B | s230034055 | 2023-10-15 16:56:14 |
m,n = map(int,input().split())
p = []
for _ in range(m):
r= list(map(int,input().split()))
p.append(r)
u = 0
for i in range(n):
for j in range(i+1, n):
unhappy = True
for n in range(m):
if abs(p[n].index(i+1) - p[n].index(j+1)) == 1:
unhappy = False
break
if unhappy:
u+=1
print(u)
标准错误流
Traceback (most recent call last):
File "/sandbox/2/a.py", line 4, in <module>
r= list(map(int,input().split()))
EOFError: EOF when reading a line
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 1
用户输出
0
系统信息
Exited with return code 0
10 10
4 10 7 2 8 3 9 1 6 5
3 6 2 9 1 8 10 7 4 5
9 3 4 5 7 10 1 8 2 6
7 3 1 8 4 9 5 6 2 10
5 2 1 4 10
<116 bytes omitted>
用户输出
1
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
标准错误流
Traceback (most recent call last):
File "/sandbox/2/a.py", line 4, in <module>
r= list(map(int,input().split()))
EOFError: EOF when reading a line
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 1
标准错误流
Traceback (most recent call last):
File "/sandbox/2/a.py", line 4, in <module>
r= list(map(int,input().split()))
EOFError: EOF when reading a line
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 1
4 24
1 2 3 4
1 2 4 3
1 3 2 4
1 3 4 2
1 4 2 3
1 4 3 2
2 1 3 4
2 1 4 3
2 3 1 4
2 3 4 1
2 4 1 3
2 4 3 1
<97 bytes omitted>
标准错误流
Traceback (most recent call last):
File "/sandbox/2/a.py", line 11, in <module>
if abs(p[n].index(i+1) - p[n].index(j+1)) == 1:
ValueError: 5 is not in list
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 1
4 12
1 2 3 4
1 3 4 2
1 4 3 2
2 1 4 3
2 3 1 4
2 4 1 3
3 1 4 2
3 4 1 2
4 1 2 3
4 2 1 3
4 2 3 1
4 3 2 1
<1 byte omitted>
标准错误流
Traceback (most recent call last):
File "/sandbox/2/a.py", line 11, in <module>
if abs(p[n].index(i+1) - p[n].index(j+1)) == 1:
ValueError: 5 is not in list
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 1
50 25
21 46 41 12 25 16 17 43 47 24 29 37 35 26 31 45 5 10 34 14 22 11 13 42 38 15 28 30 27 2 23 36
<3431 bytes omitted>
标准错误流
Traceback (most recent call last):
File "/sandbox/2/a.py", line 4, in <module>
r= list(map(int,input().split()))
EOFError: EOF when reading a line
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 1
49 18
19 29 45 36 5 44 24 40 42 11 9 10 8 18 41 14 1 39 48 49 3 30 46 35 12 28 21 27 17 43 13 26 33
<2390 bytes omitted>
标准错误流
Traceback (most recent call last):
File "/sandbox/2/a.py", line 4, in <module>
r= list(map(int,input().split()))
EOFError: EOF when reading a line
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 1
48 33
29 10 46 7 31 2 11 41 3 19 28 45 33 23 24 36 25 17 47 40 12 21 26 22 34 20 5 16 42 30 27 32 43
<4361 bytes omitted>
标准错误流
Traceback (most recent call last):
File "/sandbox/2/a.py", line 4, in <module>
r= list(map(int,input().split()))
EOFError: EOF when reading a line
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 1
3 50
1 2 3
1 2 3
1 2 3
1 2 3
1 2 3
1 2 3
1 2 3
1 2 3
1 2 3
1 2 3
1 2 3
1 2 3
1 2 3
1 2 3
1 2 3
1 2 3
<205 bytes omitted>
标准错误流
Traceback (most recent call last):
File "/sandbox/2/a.py", line 11, in <module>
if abs(p[n].index(i+1) - p[n].index(j+1)) == 1:
ValueError: 4 is not in list
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 1
49 50
47 22 14 1 8 11 13 48 2 19 33 21 37 34 39 10 5 12 6 38 45 9 43 3 30 31 46 15 25 40 17 4 29 35
<6806 bytes omitted>
标准错误流
Traceback (most recent call last):
File "/sandbox/2/a.py", line 11, in <module>
if abs(p[n].index(i+1) - p[n].index(j+1)) == 1:
ValueError: 50 is not in list
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 1