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_21600589_7043.cpp:1:1: error: '__int64' does not name a type
 __int64 dp[30][30][2050];
 ^
0_0_21600589_7043.cpp:5:1: error: '__int64' does not name a type
 __int64 m,n;
 ^
0_0_21600589_7043.cpp:7:1: error: '__int64' does not name a type
 __int64 dfs(int pos,int x,int st,bool flag){
 ^
0_0_21600589_7043.cpp:21:1: error: '__int64' does not name a type
 __int64 calc(__int64 x){
 ^
0_0_21600589_7043.cpp: In function 'int main()':
0_0_21600589_7043.cpp:37:9: error: 'dp' was not declared in this scope
  memset(dp,-1,sizeof(dp));
         ^
0_0_21600589_7043.cpp:37:25: error: 'memset' was not declared in this scope
  memset(dp,-1,sizeof(dp));
                         ^
0_0_21600589_7043.cpp:38:15: error: 'scanf' was not declared in this scope
  scanf("%d",&t);
               ^
0_0_21600589_7043.cpp:40:23: error: 'm' was not declared in this scope
   scanf("%I64d%I64d",&m,&n);
                       ^
0_0_21600589_7043.cpp:40:26: error: 'n' was not declared in this scope
   scanf("%I64d%I64d",&m,&n);
                          ^
0_0_21600589_7043.cpp:41:26: error: 'calc' was not declared in this scope
   printf("%I64d\n",calc(n)-calc(m-1));
                          ^
0_0_21600589_7043.cpp:41:37: error: 'printf' was not declared in this scope
   printf("%I64d\n",calc(n)-calc(m-1));
                                     ^


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 23:03:06, Gzip enabled