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_15395890_28384.cpp:9:5: error: '_int64' does not name a type
     _int64 sum;
     ^
0_0_15395890_28384.cpp: In function 'void change(int, int, int)':
0_0_15395890_28384.cpp:20:14: error: 'struct COW' has no member named 'sum'
         a[i].sum+=x;
              ^
0_0_15395890_28384.cpp: At global scope:
0_0_15395890_28384.cpp:26:1: error: '_int64' does not name a type
 _int64 qiu_sum(int i) {
 ^
0_0_15395890_28384.cpp:36:1: error: '_int64' does not name a type
 _int64 qiu_cnt(int i) {
 ^
0_0_15395890_28384.cpp: In function 'int main()':
0_0_15395890_28384.cpp:49:9: error: '_int64' was not declared in this scope
         _int64 answer=0;
         ^
0_0_15395890_28384.cpp:55:20: error: expected ';' before 't1'
             _int64 t1=i-qiu_cnt(cow);
                    ^
0_0_15395890_28384.cpp:56:16: error: 't1' was not declared in this scope
             if(t1!=0) {
                ^
0_0_15395890_28384.cpp:57:24: error: expected ';' before 't2'
                 _int64 t2=qiu_sum(N)-qiu_sum(cow);
                        ^
0_0_15395890_28384.cpp:58:17: error: 'answer' was not declared in this scope
                 answer+=t1*cow+t2;
                 ^
0_0_15395890_28384.cpp:58:32: error: 't2' was not declared in this scope
                 answer+=t1*cow+t2;
                                ^
0_0_15395890_28384.cpp:62:26: error: 'answer' was not declared in this scope
         printf("%I64d\n",answer);
                          ^


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-07-06 06:48:25, Gzip enabled