QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#369780#8505. Almost Alignedwillow#Compile Error//C++17407b2024-03-28 17:52:542024-03-28 17:52:56

Judging History

你现在查看的是最新测评结果

  • [2024-03-28 17:52:56]
  • 评测
  • [2024-03-28 17:52:54]
  • 提交

answer

4 -1
Add delta = -1 rev = 0 who = 0 x = 3
Query tar = 0
? Right = 1 ans = 0
a[0]: rev = 0 delta = -1 who = 0: 1 0 0 0 
a[1]: 0 0 0 0 
Add delta = 1 rev = 1 who = 1 x = 0
Query tar = 0
? Right = 2 ans = 0
a[0]: rev = 1 delta = 1 who = 1: 1 0 0 1 
a[1]: 0 0 0 0 
Add delta = -1 rev = 0 who = 1 x = 0
Query tar = 0
? Right = 3 ans = 0
a[0]: rev = 0 delta = -1 who = 0: 1 0 0 1 
a[1]: 0 1 0 0 
0

詳細信息

answer.code:1:1: error: expected unqualified-id before numeric constant
    1 | 4 -1
      | ^