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_30616448_5428.cpp: In function 'int get(int)':
0_0_30616448_5428.cpp:48:1: error: expected primary-expression before '?' token
 ? ? if(now==0)return 0;
 ^
0_0_30616448_5428.cpp:48:3: error: expected primary-expression before '?' token
 ? ? if(now==0)return 0;
   ^
0_0_30616448_5428.cpp:48:5: error: expected primary-expression before 'if'
 ? ? if(now==0)return 0;
     ^
0_0_30616448_5428.cpp:48:5: error: expected ':' before 'if'
0_0_30616448_5428.cpp:48:5: error: expected primary-expression before 'if'
0_0_30616448_5428.cpp:48:5: error: expected ':' before 'if'
0_0_30616448_5428.cpp:48:5: error: expected primary-expression before 'if'
0_0_30616448_5428.cpp:49:1: error: expected primary-expression before '?' token
 ? ? return get(now/10)+now%10;
 ^
0_0_30616448_5428.cpp:49:3: error: expected primary-expression before '?' token
 ? ? return get(now/10)+now%10;
   ^
0_0_30616448_5428.cpp:49:5: error: expected primary-expression before 'return'
 ? ? return get(now/10)+now%10;
     ^
0_0_30616448_5428.cpp:49:5: error: expected ':' before 'return'
0_0_30616448_5428.cpp:49:5: error: expected primary-expression before 'return'
0_0_30616448_5428.cpp:49:5: error: expected ':' before 'return'
0_0_30616448_5428.cpp:49:5: error: expected primary-expression before 'return'
0_0_30616448_5428.cpp: In function 'int getpre(int)':
0_0_30616448_5428.cpp:52:1: error: expected primary-expression before '?' token
 ? ? int res=0;
 ^
0_0_30616448_5428.cpp:52:3: error: expected primary-expression before '?' token
 ? ? int res=0;
   ^
0_0_30616448_5428.cpp:52:5: error: expected primary-expression before 'int'
 ? ? int res=0;
     ^
0_0_30616448_5428.cpp:52:5: error: expected ':' before 'int'
0_0_30616448_5428.cpp:52:5: error: expected primary-expression before 'int'
0_0_30616448_5428.cpp:52:5: error: expected ':' before 'int'
0_0_30616448_5428.cpp:52:5: error: expected primary-expression before 'int'
0_0_30616448_5428.cpp:53:1: error: expected primary-expression before '?' token
 ? ? int mark;
 ^
0_0_30616448_5428.cpp:53:3: error: expected primary-expression before '?' token
 ? ? int mark;
   ^
0_0_30616448_5428.cpp:53:5: error: expected primary-expression before 'int'
 ? ? int mark;
     ^
0_0_30616448_5428.cpp:53:5: error: expected ':' before 'int'
0_0_30616448_5428.cpp:53:5: error: expected primary-expression before 'int'
0_0_30616448_5428.cpp:53:5: error: expected ':' before 'int'
0_0_30616448_5428.cpp:53:5: error: expected primary-expression before 'int'
0_0_30616448_5428.cpp:54:1: error: expected primary-expression before '?' token
 ? ? for(int i=1000000;;i+=1000000){
 ^
0_0_30616448_5428.cpp:54:3: error: expected primary-expression before '?' token
 ? ? for(int i=1000000;;i+=1000000){
   ^
0_0_30616448_5428.cpp:54:5: error: expected primary-expression before 'for'
 ? ? for(int i=1000000;;i+=1000000){
     ^
0_0_30616448_5428.cpp:54:5: error: expected ':' before 'for'
0_0_30616448_5428.cpp:54:5: error: expected primary-expression before 'for'
0_0_30616448_5428.cpp:54:5: error: expected ':' before 'for'
0_0_30616448_5428.cpp:54:5: error: expected primary-expression before 'for'
0_0_30616448_5428.cpp:54:24: error: 'i' was not declared in this scope
 ? ? for(int i=1000000;;i+=1000000){
                        ^
0_0_30616448_5428.cpp:61:1: error: expected primary-expression before '?' token
 ? ? for(int i=mark+1;i<=now;i++){
 ^
0_0_30616448_5428.cpp:61:3: error: expected primary-expression before '?' token
 ? ? for(int i=mark+1;i<=now;i++){
   ^
0_0_30616448_5428.cpp:61:5: error: expected primary-expression before 'for'
 ? ? for(int i=mark+1;i<=now;i++){
     ^
0_0_30616448_5428.cpp:61:5: error: expected ':' before 'for'
0_0_30616448_5428.cpp:61:5: error: expected primary-expression before 'for'
0_0_30616448_5428.cpp:61:5: error: expected ':' before 'for'
0_0_30616448_5428.cpp:61:5: error: expected primary-expression before 'for'
0_0_30616448_5428.cpp:64:1: error: expected primary-expression before '?' token
 ? ? return res;
 ^
0_0_30616448_5428.cpp:64:3: error: expected primary-expression before '?' token
 ? ? return res;
   ^
0_0_30616448_5428.cpp:64:5: error: expected primary-expression before 'return'
 ? ? return res;
     ^
0_0_30616448_5428.cpp:64:5: error: expected ':' before 'return'
0_0_30616448_5428.cpp:64:5: error: expected primary-expression before 'return'
0_0_30616448_5428.cpp:64:5: error: expected ':' before 'return'
0_0_30616448_5428.cpp:64:5: error: expected primary-expression before 'return'
0_0_30616448_5428.cpp: In function 'void solve()':
0_0_30616448_5428.cpp:67:1: error: expected primary-expression before '?' token
 ? ? int t;
 ^
0_0_30616448_5428.cpp:67:3: error: expected primary-expression before '?' token
 ? ? int t;
   ^
0_0_30616448_5428.cpp:67:5: error: expected primary-expression before 'int'
 ? ? int t;
     ^
0_0_30616448_5428.cpp:67:5: error: expected ':' before 'int'
0_0_30616448_5428.cpp:67:5: error: expected primary-expression before 'int'
0_0_30616448_5428.cpp:67:5: error: expected ':' before 'int'
0_0_30616448_5428.cpp:67:5: error: expected primary-expression before 'int'
0_0_30616448_5428.cpp:68:1: error: expected primary-expression before '?' token
 ? ? sd(t);
 ^
0_0_30616448_5428.cpp:68:3: error: expected primary-expression before '?' token
 ? ? sd(t);
   ^
0_0_30616448_5428.cpp:68:8: error: 't' was not declared in this scope
 ? ? sd(t);
        ^
0_0_30616448_5428.cpp:25:27: note: in definition of macro 'sd'
 #define sd(n) scanf("%d",&n)
                           ^
0_0_30616448_5428.cpp:68:10: error: expected ':' before ';' token
 ? ? sd(t);
          ^
0_0_30616448_5428.cpp:68:10: error: expected primary-expression before ';' token
0_0_30616448_5428.cpp:68:10: error: expected ':' before ';' token
0_0_30616448_5428.cpp:68:10: error: expected primary-expression before ';' token
0_0_30616448_5428.cpp:69:1: error: expected primary-expression before '?' token
 ? ? for(int kase=1;kase<=t;kase++){
 ^
0_0_30616448_5428.cpp:69:3: error: expected primary-expression before '?' token
 ? ? for(int kase=1;kase<=t;kase++){
   ^
0_0_30616448_5428.cpp:69:5: error: expected primary-expression before 'for'
 ? ? for(int kase=1;kase<=t;kase++){
     ^
0_0_30616448_5428.cpp:69:5: error: expected ':' before 'for'
0_0_30616448_5428.cpp:69:5: error: expected primary-expression before 'for'
0_0_30616448_5428.cpp:69:5: error: expected ':' before 'for'
0_0_30616448_5428.cpp:69:5: error: expected primary-expression before 'for'
0_0_30616448_5428.cpp:69:20: error: 'kase' was not declared in this scope
 ? ? for(int kase=1;kase<=t;kase++){
                    ^
0_0_30616448_5428.cpp:74:1: error: expected primary-expression before '?' token
 ? ? return ;
 ^
0_0_30616448_5428.cpp:74:3: error: expected primary-expression before '?' token
 ? ? return ;
   ^
0_0_30616448_5428.cpp:74:5: error: expected primary-expression before 'return'
 ? ? return ;
     ^
0_0_30616448_5428.cpp:74:5: error: expected ':' before 'return'
0_0_30616448_5428.cpp:74:5: error: expected primary-expression before 'return'
0_0_30616448_5428.cpp:74:5: error: expected ':' before 'return'
0_0_30616448_5428.cpp:74:5: error: expected primary-expression before 'return'
0_0_30616448_5428.cpp: In function 'int main()':
0_0_30616448_5428.cpp:81:1: error: expected primary-expression before '?' token
 ? ? // ? ?freopen("","r",stdin);
 ^
0_0_30616448_5428.cpp:81:3: error: expected primary-expression before '?' token
 ? ? // ? ?freopen("","r",stdin);
   ^
0_0_30616448_5428.cpp:82:1: error: expected primary-expression before '?' token
 ? ? // ? ?freopen("","w",stdout);
 ^
0_0_30616448_5428.cpp:82:3: error: expected primary-expression before '?' token
 ? ? // ? ?freopen("","w",stdout);
   ^
0_0_30616448_5428.cpp:84:1: error: expected primary-expression before '?' token
 ? ? solve();
 ^
0_0_30616448_5428.cpp:84:3: error: expected primary-expression before '?' token
 ? ? solve();
   ^
0_0_30616448_5428.cpp:84:12: error: expected ':' before ';' token
 ? ? solve();
            ^
0_0_30616448_5428.cpp:84:12: error: expected primary-expression before ';' token
0_0_30616448_5428.cpp:84:12: error: expected ':' before ';' token
0_0_30616448_5428.cpp:84:12: error: expected primary-expression before ';' token
0_0_30616448_5428.cpp:84:12: error: expected ':' before ';' token
0_0_30616448_5428.cpp:84:12: error: expected primary-expression before ';' token
0_0_30616448_5428.cpp:84:12: error: expected ':' before ';' token
0_0_30616448_5428.cpp:84:12: error: expected primary-expression before ';' token
0_0_30616448_5428.cpp:84:12: error: expected ':' before ';' token
0_0_30616448_5428.cpp:84:12: error: expected primary-expression before ';' token
0_0_30616448_5428.cpp:84:12: error: expected ':' before ';' token
0_0_30616448_5428.cpp:84:12: error: expected primary-expression before ';' token
0_0_30616448_5428.cpp:85:1: error: expected primary-expression before '?' token
 ? ? return 0;
 ^
0_0_30616448_5428.cpp:85:3: error: expected primary-expression before '?' token
 ? ? return 0;
   ^
0_0_30616448_5428.cpp:85:5: error: expected primary-expression before 'return'
 ? ? return 0;
     ^
0_0_30616448_5428.cpp:85:5: error: expected ':' before 'return'
0_0_30616448_5428.cpp:85:5: error: 


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-12-03 02:48:17, Gzip enabled