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_20996943_13684.cpp: In function 'void ZeroOnePack(int, int)':
0_0_20996943_13684.cpp:15:19: error: expected primary-expression before '<' token
    cur[j]=f[i][j];<span style="font-family:Arial,Helvetica,sans-serif">//从大到小排序,方便最后合并找最大的前K个值</span>
                   ^
0_0_20996943_13684.cpp:15:20: error: 'span' was not declared in this scope
    cur[j]=f[i][j];<span style="font-family:Arial,Helvetica,sans-serif">//从大到小排序,方便最后合并找最大的前K个值</span>
                    ^
0_0_20996943_13684.cpp: In function 'int main()':
0_0_20996943_13684.cpp:35:23: error: 'memset' was not declared in this scope
   memset(f,0,sizeof(f));
                       ^


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-26 10:38:19, Gzip enabled