QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#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)
Details
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’