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_18211568_24526.cpp:7:19: error: declaration does not declare anything [-fpermissive]
 typedef long long int;
                   ^
0_0_18211568_24526.cpp:8:1: error: 'LL' does not name a type
 LL T,n,c,L,R,l,r,sum;
 ^
0_0_18211568_24526.cpp:9:1: error: 'LL' does not name a type
 LL dp[N][450];
 ^
0_0_18211568_24526.cpp: In function 'int main()':
0_0_18211568_24526.cpp:11:5: error: 'dp' was not declared in this scope
     dp[1][1]=1;
     ^
0_0_18211568_24526.cpp:12:9: error: 'LL' was not declared in this scope
     for(LL i=2;i<N;++i)
         ^
0_0_18211568_24526.cpp:12:16: error: 'i' was not declared in this scope
     for(LL i=2;i<N;++i)
                ^
0_0_18211568_24526.cpp:13:12: error: expected ';' before 'j'
     for(LL j=1;j<450;++j)
            ^
0_0_18211568_24526.cpp:13:16: error: 'j' was not declared in this scope
     for(LL j=1;j<450;++j)
                ^
0_0_18211568_24526.cpp:15:10: error: 'T' was not declared in this scope
     cin>>T;
          ^
0_0_18211568_24526.cpp:17:14: error: 'n' was not declared in this scope
         cin>>n>>c>>L>>R;
              ^
0_0_18211568_24526.cpp:17:17: error: 'c' was not declared in this scope
         cin>>n>>c>>L>>R;
                 ^
0_0_18211568_24526.cpp:17:20: error: 'L' was not declared in this scope
         cin>>n>>c>>L>>R;
                    ^
0_0_18211568_24526.cpp:17:23: error: 'R' was not declared in this scope
         cin>>n>>c>>L>>R;
                       ^
0_0_18211568_24526.cpp:18:9: error: 'l' was not declared in this scope
         l=L-c,r=R-c;
         ^
0_0_18211568_24526.cpp:18:15: error: 'r' was not declared in this scope
         l=L-c,r=R-c;
               ^
0_0_18211568_24526.cpp:19:9: error: 'sum' was not declared in this scope
         sum=0;
         ^
0_0_18211568_24526.cpp:20:13: error: 'LL' was not declared in this scope
         for(LL i=1;i<n;++i)
             ^
0_0_18211568_24526.cpp:20:20: error: 'i' was not declared in this scope
         for(LL i=1;i<n;++i)
                    ^
0_0_18211568_24526.cpp:21:16: error: expected ';' before 'j'
         for(LL j=l;j<=r;++j)
                ^
0_0_18211568_24526.cpp:21:20: error: 'j' was not declared in this scope
         for(LL j=l;j<=r;++j)
                    ^


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-23 05:01:08, Gzip enabled