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_28210058_21904.cpp:11:26: error: expected unqualified-id before '?' token
 int fact[maxn],cnt[maxn];?
                          ^
0_0_28210058_21904.cpp: In function 'int find_ffa(int)':
0_0_28210058_21904.cpp:16:1: error: expected primary-expression before '?' token
 ?? ?if(fav[x]==true) return x;
 ^
0_0_28210058_21904.cpp:16:2: error: expected primary-expression before '?' token
 ?? ?if(fav[x]==true) return x;
  ^
0_0_28210058_21904.cpp:16:4: error: expected primary-expression before '?' token
 ?? ?if(fav[x]==true) return x;
    ^
0_0_28210058_21904.cpp:16:5: error: expected primary-expression before 'if'
 ?? ?if(fav[x]==true) return x;
     ^
0_0_28210058_21904.cpp:16:5: error: expected ':' before 'if'
0_0_28210058_21904.cpp:16:5: error: expected primary-expression before 'if'
0_0_28210058_21904.cpp:16:5: error: expected ':' before 'if'
0_0_28210058_21904.cpp:16:5: error: expected primary-expression before 'if'
0_0_28210058_21904.cpp:16:5: error: expected ':' before 'if'
0_0_28210058_21904.cpp:16:5: error: expected primary-expression before 'if'
0_0_28210058_21904.cpp:17:1: error: expected primary-expression before '?' token
 ?? ?return fa[x]=find_ffa(fa[x]);
 ^
0_0_28210058_21904.cpp:17:2: error: expected primary-expression before '?' token
 ?? ?return fa[x]=find_ffa(fa[x]);
  ^
0_0_28210058_21904.cpp:17:4: error: expected primary-expression before '?' token
 ?? ?return fa[x]=find_ffa(fa[x]);
    ^
0_0_28210058_21904.cpp:17:5: error: expected primary-expression before 'return'
 ?? ?return fa[x]=find_ffa(fa[x]);
     ^
0_0_28210058_21904.cpp:17:5: error: expected ':' before 'return'
0_0_28210058_21904.cpp:17:5: error: expected primary-expression before 'return'
0_0_28210058_21904.cpp:17:5: error: expected ':' before 'return'
0_0_28210058_21904.cpp:17:5: error: expected primary-expression before 'return'
0_0_28210058_21904.cpp:17:5: error: expected ':' before 'return'
0_0_28210058_21904.cpp:17:5: error: expected primary-expression before 'return'
0_0_28210058_21904.cpp: In function 'int find(int&)':
0_0_28210058_21904.cpp:21:1: error: expected primary-expression before '?' token
 ?? ?double mx=0;int re;
 ^
0_0_28210058_21904.cpp:21:2: error: expected primary-expression before '?' token
 ?? ?double mx=0;int re;
  ^
0_0_28210058_21904.cpp:21:4: error: expected primary-expression before '?' token
 ?? ?double mx=0;int re;
    ^
0_0_28210058_21904.cpp:21:5: error: expected primary-expression before 'double'
 ?? ?double mx=0;int re;
     ^
0_0_28210058_21904.cpp:21:5: error: expected ':' before 'double'
0_0_28210058_21904.cpp:21:5: error: expected primary-expression before 'double'
0_0_28210058_21904.cpp:21:5: error: expected ':' before 'double'
0_0_28210058_21904.cpp:21:5: error: expected primary-expression before 'double'
0_0_28210058_21904.cpp:21:5: error: expected ':' before 'double'
0_0_28210058_21904.cpp:21:5: error: expected primary-expression before 'double'
0_0_28210058_21904.cpp:22:1: error: expected primary-expression before '?' token
 ?? ?for(int i=0;i<q.size();i++)if(mx<ave[q[i]])
 ^
0_0_28210058_21904.cpp:22:2: error: expected primary-expression before '?' token
 ?? ?for(int i=0;i<q.size();i++)if(mx<ave[q[i]])
  ^
0_0_28210058_21904.cpp:22:4: error: expected primary-expression before '?' token
 ?? ?for(int i=0;i<q.size();i++)if(mx<ave[q[i]])
    ^
0_0_28210058_21904.cpp:22:5: error: expected primary-expression before 'for'
 ?? ?for(int i=0;i<q.size();i++)if(mx<ave[q[i]])
     ^
0_0_28210058_21904.cpp:22:5: error: expected ':' before 'for'
0_0_28210058_21904.cpp:22:5: error: expected primary-expression before 'for'
0_0_28210058_21904.cpp:22:5: error: expected ':' before 'for'
0_0_28210058_21904.cpp:22:5: error: expected primary-expression before 'for'
0_0_28210058_21904.cpp:22:5: error: expected ':' before 'for'
0_0_28210058_21904.cpp:22:5: error: expected primary-expression before 'for'
0_0_28210058_21904.cpp:22:17: error: 'i' was not declared in this scope
 ?? ?for(int i=0;i<q.size();i++)if(mx<ave[q[i]])
                 ^
0_0_28210058_21904.cpp:26:1: error: expected primary-expression before '?' token
 ?? ?return re;
 ^
0_0_28210058_21904.cpp:26:2: error: expected primary-expression before '?' token
 ?? ?return re;
  ^
0_0_28210058_21904.cpp:26:4: error: expected primary-expression before '?' token
 ?? ?return re;
    ^
0_0_28210058_21904.cpp:26:5: error: expected primary-expression before 'return'
 ?? ?return re;
     ^
0_0_28210058_21904.cpp:26:5: error: expected ':' before 'return'
0_0_28210058_21904.cpp:26:5: error: expected primary-expression before 'return'
0_0_28210058_21904.cpp:26:5: error: expected ':' before 'return'
0_0_28210058_21904.cpp:26:5: error: expected primary-expression before 'return'
0_0_28210058_21904.cpp:26:5: error: expected ':' before 'return'
0_0_28210058_21904.cpp:26:5: error: expected primary-expression before 'return'
0_0_28210058_21904.cpp: In function 'int main()':
0_0_28210058_21904.cpp:31:1: error: expected primary-expression before '?' token
 ?? ?while(scanf("%d%d",&n,&rt),n!=0)
 ^
0_0_28210058_21904.cpp:31:2: error: expected primary-expression before '?' token
 ?? ?while(scanf("%d%d",&n,&rt),n!=0)
  ^
0_0_28210058_21904.cpp:31:4: error: expected primary-expression before '?' token
 ?? ?while(scanf("%d%d",&n,&rt),n!=0)
    ^
0_0_28210058_21904.cpp:31:5: error: expected primary-expression before 'while'
 ?? ?while(scanf("%d%d",&n,&rt),n!=0)
     ^
0_0_28210058_21904.cpp:31:5: error: expected ':' before 'while'
0_0_28210058_21904.cpp:31:5: error: expected primary-expression before 'while'
0_0_28210058_21904.cpp:31:5: error: expected ':' before 'while'
0_0_28210058_21904.cpp:31:5: error: expected primary-expression before 'while'
0_0_28210058_21904.cpp:31:5: error: expected ':' before 'while'
0_0_28210058_21904.cpp:31:5: error: expected primary-expression before 'while'
0_0_28210058_21904.cpp:56:1: error: expected primary-expression before '?' token
 ?? ?return 0;
 ^
0_0_28210058_21904.cpp:56:2: error: expected primary-expression before '?' token
 ?? ?return 0;
  ^
0_0_28210058_21904.cpp:56:4: error: expected primary-expression before '?' token
 ?? ?return 0;
    ^
0_0_28210058_21904.cpp:56:5: error: expected primary-expression before 'return'
 ?? ?return 0;
     ^
0_0_28210058_21904.cpp:56:5: error: expected ':' before 'return'
0_0_28210058_21904.cpp:56:5: error: expected primary-expression before 'return'
0_0_28210058_21904.cpp:56:5: error: expected ':' before 'return'
0_0_28210058_21904.cpp:56:5: error: expected primary-expression before 'return'
0_0_28210058_21904.cpp:56:5: error: expected ':' before 'return'
0_0_28210058_21904.cpp:56: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 22:20:56, Gzip enabled