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_34851219_5492.cpp: In function 'int main()':
0_0_34851219_5492.cpp:9:5: error: 'unsinged' was not declared in this scope
     unsinged long long sum[100005]={0,1,2},i,a;
     ^
0_0_34851219_5492.cpp:9:43: error: expected primary-expression before ',' token
     unsinged long long sum[100005]={0,1,2},i,a;
                                           ^
0_0_34851219_5492.cpp:9:44: error: 'i' was not declared in this scope
     unsinged long long sum[100005]={0,1,2},i,a;
                                            ^
0_0_34851219_5492.cpp:9:46: error: 'a' was not declared in this scope
     unsinged long long sum[100005]={0,1,2},i,a;
                                              ^
0_0_34851219_5492.cpp:14:13: error: 'sum' was not declared in this scope
             sum[i]=sum[i-1]+i*i*i;
             ^
0_0_34851219_5492.cpp:18:13: error: 'sum' was not declared in this scope
             sum[i]=sum[i-1]+i;
             ^
0_0_34851219_5492.cpp:28:25: error: 'sum' was not declared in this scope
         printf("%lld\n",sum[n]);
                         ^


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-20 21:44:05, Gzip enabled