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_32448050_9071.cpp:1:1: error: 'e' does not name a type
 e=q[len-1]-'0';
 ^
0_0_32448050_9071.cpp:2:3: error: 'd' does not name a type
   d=q[len-2]-'0';
   ^
0_0_32448050_9071.cpp:3:3: error: 'c' does not name a type
   c=q[len-3]-'0';
   ^
0_0_32448050_9071.cpp:5:3: error: 'a' does not name a type
   a=q[0]-'0';
   ^
0_0_32448050_9071.cpp:6:3: error: 'b' does not name a type
   b=0;
   ^
0_0_32448050_9071.cpp:7:3: error: expected unqualified-id before 'for'
   for(i=1;i<len-3;i++)
   ^
0_0_32448050_9071.cpp:7:11: error: 'i' does not name a type
   for(i=1;i<len-3;i++)
           ^
0_0_32448050_9071.cpp:7:19: error: 'i' does not name a type
   for(i=1;i<len-3;i++)
                   ^
0_0_32448050_9071.cpp:12:3: error: expected unqualified-id before 'if'
   if(a+b-c*d/e>ans)
   ^
0_0_32448050_9071.cpp:15:3: error: 'a' does not name a type
   a=0;
   ^
0_0_32448050_9071.cpp:16:3: error: 'b' does not name a type
   b=q[len-4]-'0';
   ^
0_0_32448050_9071.cpp:17:3: error: expected unqualified-id before 'for'
   for(i=0;i<len-4;i++)
   ^
0_0_32448050_9071.cpp:17:11: error: 'i' does not name a type
   for(i=0;i<len-4;i++)
           ^
0_0_32448050_9071.cpp:17:19: error: 'i' does not name a type
   for(i=0;i<len-4;i++)
                   ^
0_0_32448050_9071.cpp:22:3: error: expected unqualified-id before 'if'
   if(a+b-c*d/e>ans)
   ^


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-30 00:47:38, Gzip enabled