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_13811753_1155.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13811753_1155.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13811753_1155.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13811753_1155.cpp: In function 'int main()':
0_0_13811753_1155.cpp:11:37: error: 'scanf' was not declared in this scope
     while(scanf("%d%d%d", &n, &m, &t)!=EOF){
                                     ^
0_0_13811753_1155.cpp:11:40: error: 'EOF' was not declared in this scope
     while(scanf("%d%d%d", &n, &m, &t)!=EOF){
                                        ^
0_0_13811753_1155.cpp:13:13: error: expected ';' before 'for'
             for(int j=1; j
             ^
0_0_13811753_1155.cpp:13:13: error: expected primary-expression before 'for'
0_0_13811753_1155.cpp:13:13: error: expected ')' before 'for'
0_0_13811753_1155.cpp:14:9: error: expected ';' before 'for'
         for(int i=1; i
         ^
0_0_13811753_1155.cpp:14:9: error: expected primary-expression before 'for'
0_0_13811753_1155.cpp:14:9: error: expected ')' before 'for'
0_0_13811753_1155.cpp:15:13: error: expected ';' before 'scanf'
             scanf("%d%d%d", &x, &y, &w);
             ^
0_0_13811753_1155.cpp:15:40: error: expected ')' before ';' token
             scanf("%d%d%d", &x, &y, &w);
                                        ^
0_0_13811753_1155.cpp:16:37: error: 'min' was not declared in this scope
             a[x][y] = min(a[x][y], w);          //�������߶Ȳ�
                                     ^
0_0_13811753_1155.cpp:19:13: error: expected ';' before 'for'
             for(int i=1; i
             ^
0_0_13811753_1155.cpp:19:13: error: expected primary-expression before 'for'
0_0_13811753_1155.cpp:19:13: error: expected ')' before 'for'
0_0_13811753_1155.cpp:20:17: error: expected ';' before 'for'
                 for(int j=1; j
                 ^
0_0_13811753_1155.cpp:20:17: error: expected primary-expression before 'for'
0_0_13811753_1155.cpp:20:17: error: expected ')' before 'for'
0_0_13811753_1155.cpp:21:21: error: expected ';' before 'a'
                     a[i][j] = min(a[i][j], max(a[i][k], a[k][j]));      
                     ^
0_0_13811753_1155.cpp:21:64: error: 'max' was not declared in this scope
                     a[i][j] = min(a[i][j], max(a[i][k], a[k][j]));      
                                                                ^
0_0_13811753_1155.cpp:21:65: error: 'min' was not declared in this scope
                     a[i][j] = min(a[i][j], max(a[i][k], a[k][j]));      
                                                                 ^
0_0_13811753_1155.cpp:21:66: error: expected ')' before ';' token
                     a[i][j] = min(a[i][j], max(a[i][k], a[k][j]));      
                                                                  ^
0_0_13811753_1155.cpp: At global scope:
0_0_13811753_1155.cpp:23:9: error: expected unqualified-id before 'for'
         for(int i=1; i
         ^
0_0_13811753_1155.cpp:23:22: error: 'i' does not name a type
         for(int i=1; i
                      ^
0_0_13811753_1155.cpp:25:19: error: expected constructor, destructor, or type conversion before '(' token
             printf("%d\n", a[x][y]==INF ? -1 : a[x][y]);       //������������INF���Ǿʹ�����ɴ����ʱ֮��û��กค������Ҫ��
                   ^
0_0_13811753_1155.cpp:26:9: 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-11-26 18:23:07, Gzip enabled