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_32441166_10237.cpp: In function 'int main()':
0_0_32441166_10237.cpp:11:1: error: expected primary-expression before '?' token
 ??? int n,x[22]={0,1,1};
 ^
0_0_32441166_10237.cpp:11:2: error: expected primary-expression before '?' token
 ??? int n,x[22]={0,1,1};
  ^
0_0_32441166_10237.cpp:11:3: error: expected primary-expression before '?' token
 ??? int n,x[22]={0,1,1};
   ^
0_0_32441166_10237.cpp:11:5: error: expected primary-expression before 'int'
 ??? int n,x[22]={0,1,1};
     ^
0_0_32441166_10237.cpp:11:5: error: expected ':' before 'int'
0_0_32441166_10237.cpp:11:5: error: expected primary-expression before 'int'
0_0_32441166_10237.cpp:11:5: error: expected ':' before 'int'
0_0_32441166_10237.cpp:11:5: error: expected primary-expression before 'int'
0_0_32441166_10237.cpp:11:5: error: expected ':' before 'int'
0_0_32441166_10237.cpp:11:5: error: expected primary-expression before 'int'
0_0_32441166_10237.cpp:13:1: error: expected primary-expression before '?' token
 ??? double sum;
 ^
0_0_32441166_10237.cpp:13:2: error: expected primary-expression before '?' token
 ??? double sum;
  ^
0_0_32441166_10237.cpp:13:3: error: expected primary-expression before '?' token
 ??? double sum;
   ^
0_0_32441166_10237.cpp:13:5: error: expected primary-expression before 'double'
 ??? double sum;
     ^
0_0_32441166_10237.cpp:13:5: error: expected ':' before 'double'
0_0_32441166_10237.cpp:13:5: error: expected primary-expression before 'double'
0_0_32441166_10237.cpp:13:5: error: expected ':' before 'double'
0_0_32441166_10237.cpp:13:5: error: expected primary-expression before 'double'
0_0_32441166_10237.cpp:13:5: error: expected ':' before 'double'
0_0_32441166_10237.cpp:13:5: error: expected primary-expression before 'double'
0_0_32441166_10237.cpp:15:1: error: expected primary-expression before '?' token
 ??? for(int i=3;i<21;i++)
 ^
0_0_32441166_10237.cpp:15:2: error: expected primary-expression before '?' token
 ??? for(int i=3;i<21;i++)
  ^
0_0_32441166_10237.cpp:15:3: error: expected primary-expression before '?' token
 ??? for(int i=3;i<21;i++)
   ^
0_0_32441166_10237.cpp:15:5: error: expected primary-expression before 'for'
 ??? for(int i=3;i<21;i++)
     ^
0_0_32441166_10237.cpp:15:5: error: expected ':' before 'for'
0_0_32441166_10237.cpp:15:5: error: expected primary-expression before 'for'
0_0_32441166_10237.cpp:15:5: error: expected ':' before 'for'
0_0_32441166_10237.cpp:15:5: error: expected primary-expression before 'for'
0_0_32441166_10237.cpp:15:5: error: expected ':' before 'for'
0_0_32441166_10237.cpp:15:5: error: expected primary-expression before 'for'
0_0_32441166_10237.cpp:15:17: error: 'i' was not declared in this scope
 ??? for(int i=3;i<21;i++)
                 ^
0_0_32441166_10237.cpp:19:1: error: expected primary-expression before '?' token
 ??? while(cin>>n)
 ^
0_0_32441166_10237.cpp:19:2: error: expected primary-expression before '?' token
 ??? while(cin>>n)
  ^
0_0_32441166_10237.cpp:19:3: error: expected primary-expression before '?' token
 ??? while(cin>>n)
   ^
0_0_32441166_10237.cpp:19:5: error: expected primary-expression before 'while'
 ??? while(cin>>n)
     ^
0_0_32441166_10237.cpp:19:5: error: expected ':' before 'while'
0_0_32441166_10237.cpp:19:5: error: expected primary-expression before 'while'
0_0_32441166_10237.cpp:19:5: error: expected ':' before 'while'
0_0_32441166_10237.cpp:19:5: error: expected primary-expression before 'while'
0_0_32441166_10237.cpp:19:5: error: expected ':' before 'while'
0_0_32441166_10237.cpp:19:5: error: expected primary-expression before 'while'
0_0_32441166_10237.cpp:45:1: error: expected primary-expression before '?' token
 ??? return 0;
 ^
0_0_32441166_10237.cpp:45:2: error: expected primary-expression before '?' token
 ??? return 0;
  ^
0_0_32441166_10237.cpp:45:3: error: expected primary-expression before '?' token
 ??? return 0;
   ^
0_0_32441166_10237.cpp:45:5: error: expected primary-expression before 'return'
 ??? return 0;
     ^
0_0_32441166_10237.cpp:45:5: error: expected ':' before 'return'
0_0_32441166_10237.cpp:45:5: error: expected primary-expression before 'return'
0_0_32441166_10237.cpp:45:5: error: expected ':' before 'return'
0_0_32441166_10237.cpp:45:5: error: expected primary-expression before 'return'
0_0_32441166_10237.cpp:45:5: error: expected ':' before 'return'
0_0_32441166_10237.cpp:45: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-27 01:12:05, Gzip enabled