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_32725103_4090.cpp: In function 'void dfs(int, int, int, LL)':
0_0_32725103_4090.cpp:15:1: error: expected primary-expression before '?' token
 ? ? if(pos>=19)
 ^
0_0_32725103_4090.cpp:15:3: error: expected primary-expression before '?' token
 ? ? if(pos>=19)
   ^
0_0_32725103_4090.cpp:15:5: error: expected primary-expression before 'if'
 ? ? if(pos>=19)
     ^
0_0_32725103_4090.cpp:15:5: error: expected ':' before 'if'
0_0_32725103_4090.cpp:15:5: error: expected primary-expression before 'if'
0_0_32725103_4090.cpp:15:5: error: expected ':' before 'if'
0_0_32725103_4090.cpp:15:5: error: expected primary-expression before 'if'
0_0_32725103_4090.cpp:17:1: error: expected primary-expression before '?' token
 ? ? if(cnt1==cnt2&&cnt1+cnt2)
 ^
0_0_32725103_4090.cpp:17:3: error: expected primary-expression before '?' token
 ? ? if(cnt1==cnt2&&cnt1+cnt2)
   ^
0_0_32725103_4090.cpp:17:5: error: expected primary-expression before 'if'
 ? ? if(cnt1==cnt2&&cnt1+cnt2)
     ^
0_0_32725103_4090.cpp:17:5: error: expected ':' before 'if'
0_0_32725103_4090.cpp:17:5: error: expected primary-expression before 'if'
0_0_32725103_4090.cpp:17:5: error: expected ':' before 'if'
0_0_32725103_4090.cpp:17:5: error: expected primary-expression before 'if'
0_0_32725103_4090.cpp:19:1: error: expected primary-expression before '?' token
 ? ? dfs(pos+1,cnt1+1,cnt2,sum*10+4);
 ^
0_0_32725103_4090.cpp:19:3: error: expected primary-expression before '?' token
 ? ? dfs(pos+1,cnt1+1,cnt2,sum*10+4);
   ^
0_0_32725103_4090.cpp:19:36: error: expected ':' before ';' token
 ? ? dfs(pos+1,cnt1+1,cnt2,sum*10+4);
                                    ^
0_0_32725103_4090.cpp:19:36: error: expected primary-expression before ';' token
0_0_32725103_4090.cpp:19:36: error: expected ':' before ';' token
0_0_32725103_4090.cpp:19:36: error: expected primary-expression before ';' token
0_0_32725103_4090.cpp:20:1: error: expected primary-expression before '?' token
 ? ? dfs(pos+1,cnt1,cnt2+1,sum*10+7);
 ^
0_0_32725103_4090.cpp:20:3: error: expected primary-expression before '?' token
 ? ? dfs(pos+1,cnt1,cnt2+1,sum*10+7);
   ^
0_0_32725103_4090.cpp:20:36: error: expected ':' before ';' token
 ? ? dfs(pos+1,cnt1,cnt2+1,sum*10+7);
                                    ^
0_0_32725103_4090.cpp:20:36: error: expected primary-expression before ';' token
0_0_32725103_4090.cpp:20:36: error: expected ':' before ';' token
0_0_32725103_4090.cpp:20:36: error: expected primary-expression before ';' token
0_0_32725103_4090.cpp:21:1: error: expected primary-expression before '?' token
 ? ? return ;
 ^
0_0_32725103_4090.cpp:21:3: error: expected primary-expression before '?' token
 ? ? return ;
   ^
0_0_32725103_4090.cpp:21:5: error: expected primary-expression before 'return'
 ? ? return ;
     ^
0_0_32725103_4090.cpp:21:5: error: expected ':' before 'return'
0_0_32725103_4090.cpp:21:5: error: expected primary-expression before 'return'
0_0_32725103_4090.cpp:21:5: error: expected ':' before 'return'
0_0_32725103_4090.cpp:21:5: error: expected primary-expression before 'return'
0_0_32725103_4090.cpp: In function 'int main()':
0_0_32725103_4090.cpp:27:1: error: expected primary-expression before '?' token
 ? ? k=0;
 ^
0_0_32725103_4090.cpp:27:3: error: expected primary-expression before '?' token
 ? ? k=0;
   ^
0_0_32725103_4090.cpp:27:8: error: expected ':' before ';' token
 ? ? k=0;
        ^
0_0_32725103_4090.cpp:27:8: error: expected primary-expression before ';' token
0_0_32725103_4090.cpp:27:8: error: expected ':' before ';' token
0_0_32725103_4090.cpp:27:8: error: expected primary-expression before ';' token
0_0_32725103_4090.cpp:28:1: error: expected primary-expression before '?' token
 ? ? dfs(0,0,0,0);
 ^
0_0_32725103_4090.cpp:28:3: error: expected primary-expression before '?' token
 ? ? dfs(0,0,0,0);
   ^
0_0_32725103_4090.cpp:28:17: error: expected ':' before ';' token
 ? ? dfs(0,0,0,0);
                 ^
0_0_32725103_4090.cpp:28:17: error: expected primary-expression before ';' token
0_0_32725103_4090.cpp:28:17: error: expected ':' before ';' token
0_0_32725103_4090.cpp:28:17: error: expected primary-expression before ';' token
0_0_32725103_4090.cpp:29:1: error: expected primary-expression before '?' token
 ? ? sort(num,num+k);
 ^
0_0_32725103_4090.cpp:29:3: error: expected primary-expression before '?' token
 ? ? sort(num,num+k);
   ^
0_0_32725103_4090.cpp:29:20: error: expected ':' before ';' token
 ? ? sort(num,num+k);
                    ^
0_0_32725103_4090.cpp:29:20: error: expected primary-expression before ';' token
0_0_32725103_4090.cpp:29:20: error: expected ':' before ';' token
0_0_32725103_4090.cpp:29:20: error: expected primary-expression before ';' token
0_0_32725103_4090.cpp:30:1: error: expected primary-expression before '?' token
 ? ? int t;
 ^
0_0_32725103_4090.cpp:30:3: error: expected primary-expression before '?' token
 ? ? int t;
   ^
0_0_32725103_4090.cpp:30:5: error: expected primary-expression before 'int'
 ? ? int t;
     ^
0_0_32725103_4090.cpp:30:5: error: expected ':' before 'int'
0_0_32725103_4090.cpp:30:5: error: expected primary-expression before 'int'
0_0_32725103_4090.cpp:30:5: error: expected ':' before 'int'
0_0_32725103_4090.cpp:30:5: error: expected primary-expression before 'int'
0_0_32725103_4090.cpp:31:1: error: expected primary-expression before '?' token
 ? ? scanf("%d", &t);
 ^
0_0_32725103_4090.cpp:31:3: error: expected primary-expression before '?' token
 ? ? scanf("%d", &t);
   ^
0_0_32725103_4090.cpp:31:18: error: 't' was not declared in this scope
 ? ? scanf("%d", &t);
                  ^
0_0_32725103_4090.cpp:31:20: error: expected ':' before ';' token
 ? ? scanf("%d", &t);
                    ^
0_0_32725103_4090.cpp:31:20: error: expected primary-expression before ';' token
0_0_32725103_4090.cpp:31:20: error: expected ':' before ';' token
0_0_32725103_4090.cpp:31:20: error: expected primary-expression before ';' token
0_0_32725103_4090.cpp:32:1: error: expected primary-expression before '?' token
 ? ? while(t--)
 ^
0_0_32725103_4090.cpp:32:3: error: expected primary-expression before '?' token
 ? ? while(t--)
   ^
0_0_32725103_4090.cpp:32:5: error: expected primary-expression before 'while'
 ? ? while(t--)
     ^
0_0_32725103_4090.cpp:32:5: error: expected ':' before 'while'
0_0_32725103_4090.cpp:32:5: error: expected primary-expression before 'while'
0_0_32725103_4090.cpp:32:5: error: expected ':' before 'while'
0_0_32725103_4090.cpp:32:5: error: expected primary-expression before 'while'
0_0_32725103_4090.cpp:42:1: error: expected primary-expression before '?' token
 ? ? return 0;
 ^
0_0_32725103_4090.cpp:42:3: error: expected primary-expression before '?' token
 ? ? return 0;
   ^
0_0_32725103_4090.cpp:42:5: error: expected primary-expression before 'return'
 ? ? return 0;
     ^
0_0_32725103_4090.cpp:42:5: error: expected ':' before 'return'
0_0_32725103_4090.cpp:42:5: error: expected primary-expression before 'return'
0_0_32725103_4090.cpp:42:5: error: expected ':' before 'return'
0_0_32725103_4090.cpp:42:5: error: expected primary-expression before 'return'


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-22 05:09:24, Gzip enabled