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_18594686_9473.cpp:12:1: error: '__int64_t' does not name a type
 __int64_t dp[100][10];
 ^
0_0_18594686_9473.cpp: In function 'int main(int, const char**)':
0_0_18594686_9473.cpp:14:5: error: 'dp' was not declared in this scope
     dp[0][0] = 1;
     ^
0_0_18594686_9473.cpp:24:9: error: '__int64_t' was not declared in this scope
         __int64_t temp;
         ^
0_0_18594686_9473.cpp:25:24: error: 'temp' was not declared in this scope
         scanf("%I64d",&temp);
                        ^
0_0_18594686_9473.cpp:33:19: error: expected ';' before 'ans'
         __int64_t ans = 0;
                   ^
0_0_18594686_9473.cpp:35:13: error: 'ans' was not declared in this scope
             ans += dp[i-1][2]*num[i];
             ^
0_0_18594686_9473.cpp:47:26: error: 'ans' was not declared in this scope
         printf("%I64d\n",ans);
                          ^


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-29 21:49:31, Gzip enabled