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_39645020_2957.cpp: In function 'int main()':
0_0_39645020_2957.cpp:28:19: error: expected initializer before '==' token
   28 |         int ncase == 0;
      |                   ^~
0_0_39645020_2957.cpp:30:17: error: 'ncase' was not declared in this scope
   30 |                 ncase++;
      |                 ^~~~~
0_0_39645020_2957.cpp:35:32: error: expected unqualified-id before '.' token
   35 |                         student.push_back(tmp);
      |                                ^
0_0_39645020_2957.cpp:37:29: error: expected primary-expression before '.' token
   37 |                 sort(student.begin(),student.end(),cmp);
      |                             ^
0_0_39645020_2957.cpp:37:45: error: expected primary-expression before '.' token
   37 |                 sort(student.begin(),student.end(),cmp);
      |                                             ^


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-11-22 22:22:53, Gzip enabled