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_20673952_16569.cpp: In function 'int main()':
0_0_20673952_16569.cpp:5:4: error: '_int64' was not declared in this scope
    _int64 n,sum,cnt;
    ^
0_0_20673952_16569.cpp:6:11: error: expected ';' before 'i'
    _int64 i;
           ^
0_0_20673952_16569.cpp:7:10: error: 'n' was not declared in this scope
    while(n--){
          ^
0_0_20673952_16569.cpp:8:14: error: 'cnt' was not declared in this scope
       cin >> cnt;
              ^
0_0_20673952_16569.cpp:9:7: error: 'sum' was not declared in this scope
       sum=0;
       ^
0_0_20673952_16569.cpp:10:11: error: 'i' was not declared in this scope
       for(i=1;i<=cnt;i++){
           ^


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-12-01 14:12:50, Gzip enabled