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_23193634_24593.cpp: In function 'bool cmp(DNA, DNA)':
0_0_23193634_24593.cpp:12:8: error: 'struct DNA' has no member named 'count'
  if (x.count != y.count)    //去除sort函数排序带来的不稳定性,也就是相对位置发生的变化;
        ^
0_0_23193634_24593.cpp:12:19: error: 'struct DNA' has no member named 'count'
  if (x.count != y.count)    //去除sort函数排序带来的不稳定性,也就是相对位置发生的变化;
                   ^
0_0_23193634_24593.cpp:13:21: error: 'struct DNA' has no member named 'count'
  return x.count < y.count;
                     ^
0_0_23193634_24593.cpp:13:11: error: parse error in template argument list
  return x.count < y.count;
           ^
0_0_23193634_24593.cpp:13:11: error: 'struct DNA' has no member named 'count'
0_0_23193634_24593.cpp: In function 'int main()':
0_0_23193634_24593.cpp:38:42: error: 'struct DNA' has no member named 'count'
      if (va[k].str[i]>va[k].str[j])va[k].count++;
                                          ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-01-11 04:15:09, Gzip enabled