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_34741371_7549.cpp:1:1: error: 'include' does not name a type
 include<bits/stdc++.h>
 ^
0_0_34741371_7549.cpp: In function 'int dfs(int, int, int, int, int)':
0_0_34741371_7549.cpp:28:43: error: 'max' was not declared in this scope
                 if(cc!=-1)ans=max(ans,cc+i);
                                           ^
0_0_34741371_7549.cpp: In function 'int main()':
0_0_34741371_7549.cpp:48:18: error: 'scanf' was not declared in this scope
     scanf("%d",&T);
                  ^
0_0_34741371_7549.cpp:50:29: error: 'memset' was not declared in this scope
     memset(dp,-1,sizeof (dp));
                             ^
0_0_34741371_7549.cpp:53:13: error: 'cin' was not declared in this scope
             cin>>a>>b;
             ^
0_0_34741371_7549.cpp:56:43: error: 'printf' was not declared in this scope
             printf("Case %d: %d\n",cas,ans);
                                           ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-03-02 05:03:53, Gzip enabled