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_30199859_3466.cpp:3:10: error: expected initializer before 'maxn'
 const ll maxn = 5e4 + 100;
          ^
0_0_30199859_3466.cpp:4:10: error: expected initializer before 'mod'
 const ll mod=1e9+7;
          ^
0_0_30199859_3466.cpp:6:8: error: 'maxn' was not declared in this scope
 char s[maxn];
        ^
0_0_30199859_3466.cpp:7:4: error: expected initializer before 'dp'
 ll dp[maxn][30];
    ^
0_0_30199859_3466.cpp: In function 'int main()':
0_0_30199859_3466.cpp:11:8: error: expected initializer before 't'
     ll t;
        ^
0_0_30199859_3466.cpp:12:10: error: 't' was not declared in this scope
     cin>>t;
          ^
0_0_30199859_3466.cpp:15:12: error: expected initializer before 'n'
         ll n,m,q;
            ^
0_0_30199859_3466.cpp:16:14: error: 'n' was not declared in this scope
         cin>>n>>m>>q;
              ^
0_0_30199859_3466.cpp:16:17: error: 'm' was not declared in this scope
         cin>>n>>m>>q;
                 ^
0_0_30199859_3466.cpp:16:20: error: 'q' was not declared in this scope
         cin>>n>>m>>q;
                    ^
0_0_30199859_3466.cpp:17:14: error: 's' was not declared in this scope
         cin>>s;
              ^
0_0_30199859_3466.cpp:18:12: error: expected initializer before 'st'
         ll st=0;
            ^
0_0_30199859_3466.cpp:19:16: error: expected ';' before 'i'
         for(ll i=0; i<=n; i++)
                ^
0_0_30199859_3466.cpp:19:16: error: 'i' was not declared in this scope
0_0_30199859_3466.cpp:19:25: error: expected ')' before ';' token
         for(ll i=0; i<=n; i++)
                         ^
0_0_30199859_3466.cpp:19:27: error: 'i' was not declared in this scope
         for(ll i=0; i<=n; i++)
                           ^
0_0_30199859_3466.cpp:26:9: error: 'dp' was not declared in this scope
         dp[n][0]=1;
         ^
0_0_30199859_3466.cpp:27:16: error: expected ';' before 'i'
         for(ll i=n-1; i>=0; i--)
                ^
0_0_30199859_3466.cpp:27:27: error: expected ')' before ';' token
         for(ll i=n-1; i>=0; i--)
                           ^
0_0_30199859_3466.cpp:52:12: error: expected initializer before 'sum'
         ll sum=0,psum=0;
            ^
0_0_30199859_3466.cpp:53:16: error: expected ';' before 'i'
         for(ll i=0; i<st; i++)
                ^
0_0_30199859_3466.cpp:53:23: error: 'st' was not declared in this scope
         for(ll i=0; i<st; i++)
                       ^
0_0_30199859_3466.cpp:53:25: error: expected ')' before ';' token
         for(ll i=0; i<st; i++)
                         ^
0_0_30199859_3466.cpp:66:12: error: expected initializer before 'x'
         ll x;
            ^
0_0_30199859_3466.cpp:69:18: error: 'x' was not declared in this scope
             cin>>x;
                  ^
0_0_30199859_3466.cpp:70:19: error: 'st' was not declared in this scope
             if(dp[st][0]<x)
                   ^
0_0_30199859_3466.cpp:75:16: error: expected initializer before 'ans'
             ll ans=sum,pre=psum;
                ^
0_0_30199859_3466.cpp:76:20: error: expected ';' before 'i'
             for(ll i=st; i<n; i++)
                    ^
0_0_30199859_3466.cpp:76:22: error: 'st' was not declared in this scope
             for(ll i=st; i<n; i++)
                      ^
0_0_30199859_3466.cpp:76:29: error: expected ')' before ';' token
             for(ll i=st; i<n; i++)
                             ^
0_0_30199859_3466.cpp:98:19: error: 'ans' was not declared in this scope
             cout<<ans<<endl;
                   ^


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-06-26 21:48:56, Gzip enabled