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_20314191_3477.cpp:2:13: error: 'bais' was not declared in this scope
    int mod=(bais-2*i)%3;
             ^
0_0_20314191_3477.cpp:2:20: error: 'i' was not declared in this scope
    int mod=(bais-2*i)%3;
                    ^
0_0_20314191_3477.cpp:3:4: error: 'f' does not name a type
    f=0;
    ^
0_0_20314191_3477.cpp:4:4: error: expected unqualified-id before 'for'
    for(int x=0;x<=s1;x++) {
    ^
0_0_20314191_3477.cpp:4:16: error: 'x' does not name a type
    for(int x=0;x<=s1;x++) {
                ^
0_0_20314191_3477.cpp:4:22: error: 'x' does not name a type
    for(int x=0;x<=s1;x++) {
                      ^
0_0_20314191_3477.cpp:19:4: error: expected unqualified-id before 'if'
    if(f){
    ^
0_0_20314191_3477.cpp:22:3: error: expected declaration before '}' token
   }
   ^


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 02:19:48, Gzip enabled