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_39765964_1384.cpp:13:3: error: storage size of 'a' isn't known
   13 |  }a[];
      |   ^
0_0_39765964_1384.cpp: In function 'int main()':
0_0_39765964_1384.cpp:31:39: error: expected primary-expression before ')' token
   31 |      while(scanf("%d %d",&m,&n)&&(m!=-)&&(n!=-))
      |                                       ^
0_0_39765964_1384.cpp:31:47: error: expected primary-expression before ')' token
   31 |      while(scanf("%d %d",&m,&n)&&(m!=-)&&(n!=-))
      |                                               ^
0_0_39765964_1384.cpp:35:14: error: expected primary-expression before ';' token
   35 |          sum=;
      |              ^
0_0_39765964_1384.cpp:37:16: error: expected primary-expression before ';' token
   37 |          for(i=; i < n; i++)
      |                ^
0_0_39765964_1384.cpp:47:16: error: expected primary-expression before ';' token
   47 |          for(i=;i<n;i++)
      |                ^


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-02 13:30:59, Gzip enabled