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++;
^
|