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_30314893_9122.cpp: In function 'int main()':
0_0_30314893_9122.cpp:10:9: error: '__int64_t' was not declared in this scope
         __int64_t sum = 0;
         ^
0_0_30314893_9122.cpp:13:19: error: expected ';' before 'live'
         __int64_t live[110], grow[110];
                   ^
0_0_30314893_9122.cpp:14:16: error: 'live' was not declared in this scope
         memset(live, 0, sizeof(live));
                ^
0_0_30314893_9122.cpp:15:16: error: 'grow' was not declared in this scope
         memset(grow, 0, sizeof(grow));
                ^
0_0_30314893_9122.cpp:29:17: error: 'sum' was not declared in this scope
                 sum += live[i];
                 ^
0_0_30314893_9122.cpp:32:17: error: 'sum' was not declared in this scope
         cout << sum * 5 << endl;
                 ^


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-01-11 08:38:41, Gzip enabled