F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_39487411_24464.cpp: In function 'void solve()':
0_0_39487411_24464.cpp:162:27: error: expected ';' before ')' token
  162 |             mp[time] = pos) {
      |                           ^
      |                           ;
0_0_39487411_24464.cpp:193:9: error: 'else' without a previous 'if'
  193 |         else if (op == 1) {
      |         ^~~~
0_0_39487411_24464.cpp:193:18: error: 'op' was not declared in this scope; did you mean 'mp'?
  193 |         else if (op == 1) {
      |                  ^~
      |                  mp
0_0_39487411_24464.cpp:196:17: error: continue statement not within a loop
  196 |                 continue;
      |                 ^~~~~~~~
0_0_39487411_24464.cpp:203:17: error: continue statement not within a loop
  203 |                 continue;
      |                 ^~~~~~~~
0_0_39487411_24464.cpp:207:17: error: continue statement not within a loop
  207 |                 continue;
      |                 ^~~~~~~~
0_0_39487411_24464.cpp: At global scope:
0_0_39487411_24464.cpp:212:5: error: 'sp' does not name a type
  212 |     sp.init();
      |     ^~
0_0_39487411_24464.cpp:213:1: error: expected declaration before '}' token
  213 | }
      | ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-09-20 12:35:59, Gzip enabled