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_33356683_16199.cpp: In function 'bool compare(student, student)':
0_0_33356683_16199.cpp:20:8: error: 'struct student' has no member named 'numAC'
  if (a.numAC < b.numAC) return false;
        ^
0_0_33356683_16199.cpp:20:18: error: 'struct student' has no member named 'numAC'
  if (a.numAC < b.numAC) return false;
                  ^
0_0_33356683_16199.cpp:21:8: error: 'struct student' has no member named 'numAC'
  if (a.numAC > b.numAC) return true;
        ^
0_0_33356683_16199.cpp:21:18: error: 'struct student' has no member named 'numAC'
  if (a.numAC > b.numAC) return true;
                  ^
0_0_33356683_16199.cpp:23:8: error: 'struct student' has no member named 'markTime'
  if (a.markTime > b.markTime) return false;
        ^
0_0_33356683_16199.cpp:23:21: error: 'struct student' has no member named 'markTime'
  if (a.markTime > b.markTime) return false;
                     ^
0_0_33356683_16199.cpp:24:8: error: 'struct student' has no member named 'markTime'
  if (a.markTime < b.markTime) return true;
        ^
0_0_33356683_16199.cpp:24:21: error: 'struct student' has no member named 'markTime'
  if (a.markTime < b.markTime) return true;
                     ^


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-12-03 22:10:31, Gzip enabled