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_38459618_9459.cpp:2:17: error: declaration does not declare anything [-fpermissive]
 #define LL long long;
                 ^
0_0_38459618_9459.cpp:4:1: note: in expansion of macro 'LL'
 LL T,n,x,sum;
 ^
0_0_38459618_9459.cpp:4:4: error: 'T' does not name a type
 LL T,n,x,sum;
    ^
0_0_38459618_9459.cpp: In function 'int main()':
0_0_38459618_9459.cpp:7:19: error: 'T' was not declared in this scope
     scanf("%lld",&T);
                   ^
0_0_38459618_9459.cpp:10:9: error: 'sum' was not declared in this scope
         sum=0;
         ^
0_0_38459618_9459.cpp:11:23: error: 'n' was not declared in this scope
         scanf("%lld",&n);
                       ^
0_0_38459618_9459.cpp:14:27: error: 'x' was not declared in this scope
             scanf("%lld",&x);
                           ^


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-21 10:48:11, Gzip enabled