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_36693841_1267.cpp:33:1: error: stray '\' in program
 while(ch!=\'-\'&&(ch<\'0\'||ch>\'9\')) ch=getchar();
 ^
0_0_36693841_1267.cpp:33:1: error: missing terminating ' character
0_0_36693841_1267.cpp:34:1: error: stray '\' in program
 if(ch==\'-\') w=-1,ch=getchar();
 ^
0_0_36693841_1267.cpp:34:1: error: missing terminating ' character
0_0_36693841_1267.cpp:35:1: error: stray '\' in program
 while(ch>=\'0\'&&ch<=\'9\') x=(x<<3)+(x<<1)+ch-48,ch=getchar();
 ^
0_0_36693841_1267.cpp:35:1: error: missing terminating ' character
0_0_36693841_1267.cpp:77:9: error: macro "fp" requires 3 arguments, but only 2 given
 fp(i,1;m) if(f[i]>0) sum++;
         ^
0_0_36693841_1267.cpp: In function 'int read()':
0_0_36693841_1267.cpp:34:1: error: expected primary-expression before 'if'
 if(ch==\'-\') w=-1,ch=getchar();
 ^
0_0_36693841_1267.cpp:34:1: error: expected ')' before 'if'
0_0_36693841_1267.cpp:35:1: error: expected primary-expression before 'while'
 while(ch>=\'0\'&&ch<=\'9\') x=(x<<3)+(x<<1)+ch-48,ch=getchar();
 ^
0_0_36693841_1267.cpp:35:1: error: expected ')' before 'while'
0_0_36693841_1267.cpp: In function 'int main()':
0_0_36693841_1267.cpp:77:1: error: 'fp' was not declared in this scope
 fp(i,1;m) if(f[i]>0) sum++;
 ^
0_0_36693841_1267.cpp:78:7: error: 'sum' was not declared in this scope
 cout<<sum<<endl;
       ^


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-28 23:59:25, Gzip enabled