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_38816563_26260.cpp: In function 'int read()':
0_0_38816563_26260.cpp:15:19: error: 'amp' was not declared in this scope
   15 |     while(ch>='0'&&ch<='9') x=x*10+ch-48,ch=getchar();
      |                   ^~~
0_0_38816563_26260.cpp:15:22: error: expected ')' before ';' token
   15 |     while(ch>='0'&&ch<='9') x=x*10+ch-48,ch=getchar();
      |          ~           ^
      |                      )
0_0_38816563_26260.cpp:15:24: error: 'amp' was not declared in this scope
   15 |     while(ch>='0'&&ch<='9') x=x*10+ch-48,ch=getchar();
      |                        ^~~
0_0_38816563_26260.cpp:15:35: error: expected ';' before ')' token
   15 |     while(ch>='0'&&ch<='9') x=x*10+ch-48,ch=getchar();
      |                                   ^
      |                                   ;
0_0_38816563_26260.cpp: In function 'void dfs(int)':
0_0_38816563_26260.cpp:22:18: error: 'amp' was not declared in this scope
   22 |       if(g[u][i]&&!b[i]) dfs(i);
      |                  ^~~
0_0_38816563_26260.cpp:22:26: error: expected ')' before ';' token
   22 |       if(g[u][i]&&!b[i]) dfs(i);
      |         ~                ^
      |                          )
0_0_38816563_26260.cpp:22:30: error: 'i' was not declared in this scope
   22 |       if(g[u][i]&&!b[i]) dfs(i);
      |                              ^
0_0_38816563_26260.cpp: In function 'int main()':
0_0_38816563_26260.cpp:62:20: error: 'amp' was not declared in this scope
   62 |           if(!b[i]&&(in[i]||out[i]))
      |                    ^~~
0_0_38816563_26260.cpp:62:28: error: expected ')' before ';' token
   62 |           if(!b[i]&&(in[i]||out[i]))
      |             ~              ^
      |                            )
0_0_38816563_26260.cpp:62:33: error: 'i' was not declared in this scope
   62 |           if(!b[i]&&(in[i]||out[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-05 10:28:44, Gzip enabled