编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#22817 | #1020. jwp的采购之旅 | Compile Error | 0 | 0 ms | 0 K | Python 3 / 245 B | Albot | 2020-02-14 22:27:25 |
def mian():
n,m = input().split()
arr = [0 for i in range(n)]
arr = input().split()
sorted(arr)
count = 0
while(m - arr[count]){
count += 1
if count >= n: break
}
printf(count)
main()
编译信息
File "a.py", line 7
while(m - arr[count]){
^
SyntaxError: invalid syntax (expected ':')