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_22480681_7283.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include "bits/stdc++.h
          ^
0_0_22480681_7283.cpp:5:11: error: 'MAXN' was not declared in this scope
 Pool    p[MAXN][MAXM];  
           ^
0_0_22480681_7283.cpp:5:17: error: 'MAXM' was not declared in this scope
 Pool    p[MAXN][MAXM];  
                 ^
0_0_22480681_7283.cpp:6:15: error: 'MAXM' was not declared in this scope
 int        dp[MAXM];  
               ^
0_0_22480681_7283.cpp:9:13: error: 'FMTLEN' was not declared in this scope
 char    fmt[FMTLEN];  
             ^
0_0_22480681_7283.cpp: In function 'void dfs(int, int, int, int, int)':
0_0_22480681_7283.cpp:18:12: error: 'p' was not declared in this scope
     tot += p[y][x].money;  
            ^
0_0_22480681_7283.cpp:21:20: error: 'dp' was not declared in this scope
         if ( tot > dp[x] ) dp[x] = tot;  
                    ^
0_0_22480681_7283.cpp: In function 'int main()':
0_0_22480681_7283.cpp:44:39: error: 'scanf' was not declared in this scope
     while ( scanf("%d%d%d", &n, &m, &k), n ) {  
                                       ^
0_0_22480681_7283.cpp:49:29: error: 'fmt' was not declared in this scope
                 scanf("%s", fmt);  
                             ^
0_0_22480681_7283.cpp:52:41: error: 'p' was not declared in this scope
                     sscanf(fmt, "$%d", &p[i][j].money);  
                                         ^
0_0_22480681_7283.cpp:52:54: error: 'sscanf' was not declared in this scope
                     sscanf(fmt, "$%d", &p[i][j].money);  
                                                      ^
0_0_22480681_7283.cpp:57:41: error: 'p' was not declared in this scope
                     sscanf(fmt, "v%d", &p[i][j].acc);  
                                         ^
0_0_22480681_7283.cpp:57:52: error: 'sscanf' was not declared in this scope
                     sscanf(fmt, "v%d", &p[i][j].acc);  
                                                    ^
0_0_22480681_7283.cpp:62:9: error: 'dp' was not declared in this scope
         dp[1] = p[1][1].money;  
         ^
0_0_22480681_7283.cpp:62:17: error: 'p' was not declared in this scope
         dp[1] = p[1][1].money;  
                 ^
0_0_22480681_7283.cpp:63:45: error: 'INF' was not declared in this scope
         for ( i = 2; i <= m; i++ ) dp[i] = -INF;  
                                             ^
0_0_22480681_7283.cpp:65:27: error: 'INF' was not declared in this scope
             if ( dp[i] > -INF )  
                           ^
0_0_22480681_7283.cpp:68:29: error: 'printf' was not declared in this scope
         printf("%d\n", dp[m]);  
                             ^


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-30 12:04:59, Gzip enabled