QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#514216 | #9177. String and Nails | ucup-team3695# | Compile Error | / | / | C++20 | 184b | 2024-08-10 23:11:28 | 2024-08-10 23:11:28 |
Judging History
answer
import sys
input=lambda:sys.stdin.readline().strip()
n=int(input())
l=[tuple(map(int,input().split())) for _ in range(n)]
l.sort()
print('YES')
for a,b in l[:-1]:print(a,b)
详细
answer.code:7:7: warning: multi-character character constant [-Wmultichar] 7 | print('YES') | ^~~~~ answer.code:1:1: error: ‘import’ does not name a type 1 | import sys | ^~~~~~ answer.code:1:1: note: C++20 ‘import’ only available with ‘-fmodules-ts’, which is not yet enabled with ‘-std=c++20’