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_38764356_9524.cpp: In function 'void solve()':
0_0_38764356_9524.cpp:28:5: error: 'll' was not declared in this scope
   28 |     ll mn=INF;
      |     ^~
0_0_38764356_9524.cpp:29:7: error: expected ';' before 'count'
   29 |     ll count=0;
      |       ^~~~~~
      |       ;
0_0_38764356_9524.cpp:43:39: error: 'mn' was not declared in this scope; did you mean 'n'?
   43 |                 if(a[k][i]+dist[i][k]<mn) {
      |                                       ^~
      |                                       n
0_0_38764356_9524.cpp:45:35: error: overloaded function with no contextual type information
   45 |                     count=cnt[i][k];
      |                                   ^
0_0_38764356_9524.cpp:47:33: error: invalid operands of types '<unresolved overloaded function type>' and 'long long int' to binary 'operator+'
   47 |                     count=(count+cnt[i][k])%mod;
      |                            ~~~~~^~~~~~~~~~
0_0_38764356_9524.cpp:52:8: error: 'mn' was not declared in this scope; did you mean 'n'?
   52 |     if(mn==INF) mn=-1,count=-1;
      |        ^~
      |        n
0_0_38764356_9524.cpp:52:30: error: overloaded function with no contextual type information
   52 |     if(mn==INF) mn=-1,count=-1;
      |                              ^
0_0_38764356_9524.cpp:53:11: error: 'mn' was not declared in this scope; did you mean 'n'?
   53 |     cout<<mn<<" "<<count<<endl;
      |           ^~
      |           n
At global scope:
cc1plus.exe: error: '::main' must return 'int'


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-09-28 02:13:26, Gzip enabled