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_38826687_3872.cpp: In function 'void Unweighted(int, MGraph)':
0_0_38826687_3872.cpp:155:44: error: 'amp' was not declared in this scope
  155 |                         if(dist[S][W]==-1 && Jump(G,W,V)){
      |                                            ^~~
0_0_38826687_3872.cpp:155:52: error: expected ')' before ';' token
  155 |                         if(dist[S][W]==-1 && Jump(G,W,V)){
      |                           ~                        ^
      |                                                    )
0_0_38826687_3872.cpp:155:65: error: expected ';' before ')' token
  155 |                         if(dist[S][W]==-1 && Jump(G,W,V)){
      |                                                                 ^
      |                                                                 ;
0_0_38826687_3872.cpp: In function 'void Save007(MGraph)':
0_0_38826687_3872.cpp:189:59: error: 'amp' was not declared in this scope
  189 |                                 if(dist[S][FinalV[S]]!=-1&&dist[S][FinalV[S]]<MinDis){
      |                                                           ^~~
0_0_38826687_3872.cpp:189:67: error: expected ')' before ';' token
  189 |                                 if(dist[S][FinalV[S]]!=-1&&dist[S][FinalV[S]]<MinDis){
      |                                   ~                               ^
      |                                                                   )
0_0_38826687_3872.cpp:189:93: error: expected ';' before ')' token
  189 |                                 if(dist[S][FinalV[S]]!=-1&&dist[S][FinalV[S]]<MinDis){
      |                                                                                             ^
      |                                                                                             ;
0_0_38826687_3872.cpp: In function 'int main()':
0_0_38826687_3872.cpp:225:24: error: 'amp' was not declared in this scope
  225 |         scanf("%d %d",&N,&D);
      |                        ^~~
0_0_38826687_3872.cpp:225:36: error: expected ';' before ')' token
  225 |         scanf("%d %d",&N,&D);
      |                                    ^
      |                                    ;
0_0_38826687_3872.cpp:229:50: error: expected ';' before ')' token
  229 |                 scanf("%d %d",&x[i],&y[i]);
      |                                                  ^
      |                                                  ;
0_0_38826687_3872.cpp:230:62: error: expected ')' before ';' token
  230 |                 if(((x[i]*x[i]+y[i]*y[i])>=7.5*7.5) && abs(x[i])<=50 && abs(y[i])<=50){
      |                   ~                                          ^
      |                                                              )
0_0_38826687_3872.cpp:230:102: error: expected ';' before ')' token
  230 |                 if(((x[i]*x[i]+y[i]*y[i])>=7.5*7.5) && abs(x[i])<=50 && abs(y[i])<=50){
      |                                                                                                      ^
      |                                                                                                      ;
0_0_38826687_3872.cpp:243:19: error: expected primary-expression at end of input
  243 |         if(D+7.5>=
      |                   ^
0_0_38826687_3872.cpp:243:19: error: expected ')' at end of input
  243 |         if(D+7.5>=
      |           ~       ^
      |                   )
0_0_38826687_3872.cpp:243:19: error: expected statement at end of input
0_0_38826687_3872.cpp:243:19: error: expected '}' at end of input
0_0_38826687_3872.cpp:223:11: note: to match this '{'
  223 | int main(){
      |           ^


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