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_38785800_9921.cpp:2:25: error: expected unqualified-id before 'if'
    2 |                         if((((a[i]%100)%50)<50)&&(((a[i]%100)%50)>=10))
      |                         ^~
0_0_38785800_9921.cpp:6:25: error: expected unqualified-id before 'if'
    6 |                         if(((((a[i]%100)%50)%10)<10)&&((((a[i]%100)%50)%10)>=5))
      |                         ^~
0_0_38785800_9921.cpp:10:25: error: expected unqualified-id before 'if'
   10 |                         if((((((a[i]%100)%50)%10)%5)<5)&&(((((a[i]%100)%50)%10)%5)>=2))
      |                         ^~
0_0_38785800_9921.cpp:14:25: error: expected unqualified-id before 'if'
   14 |                         if((((((a[i]%100)%50)%10)%5)%2)==1)
      |                         ^~
0_0_38785800_9921.cpp:18:25: error: 'b' does not name a type
   18 |                         b[i]=s;
      |                         ^
0_0_38785800_9921.cpp:19:25: error: 's' does not name a type
   19 |                         s=0;
      |                         ^
0_0_38785800_9921.cpp:20:17: error: expected declaration before '}' token
   20 |                 }
      |                 ^
0_0_38785800_9921.cpp:21:17: error: expected unqualified-id before 'for'
   21 |                 for(i=0;i<n;i++)
      |                 ^~~
0_0_38785800_9921.cpp:21:27: error: 'n' was not declared in this scope
   21 |                 for(i=0;i<n;i++)
      |                           ^
0_0_38785800_9921.cpp:21:27: error: 'n' was not declared in this scope
0_0_38785800_9921.cpp:21:27: error: 'n' was not declared in this scope
0_0_38785800_9921.cpp:21:27: error: 'n' was not declared in this scope
0_0_38785800_9921.cpp:21:27: error: 'n' was not declared in this scope
0_0_38785800_9921.cpp:21:27: error: 'n' was not declared in this scope
0_0_38785800_9921.cpp:21:27: error: 'n' was not declared in this scope
0_0_38785800_9921.cpp:21:27: error: 'n' was not declared in this scope
0_0_38785800_9921.cpp:21:27: error: 'n' was not declared in this scope
0_0_38785800_9921.cpp:21:25: error: 'i' does not name a type
   21 |                 for(i=0;i<n;i++)
      |                         ^
0_0_38785800_9921.cpp:21:29: error: 'i' does not name a type
   21 |                 for(i=0;i<n;i++)
      |                             ^
0_0_38785800_9921.cpp:26:23: error: expected constructor, destructor, or type conversion before '(' token
   26 |                 printf("%d\n",z);
      |                       ^
0_0_38785800_9921.cpp:27:10: error: expected declaration before '}' token
   27 |          }
      |          ^
0_0_38785800_9921.cpp:30:2: error: expected declaration before '}' token
   30 |  }
      |  ^


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 16:48:23, Gzip enabled