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_17456088_2658.c:12:1: error: unknown type name 'bool'
 bool one(char s[])
 ^
0_0_17456088_2658.c: In function 'one':
0_0_17456088_2658.c:14:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
     for(int i=7;i<11;++i)
     ^
0_0_17456088_2658.c:14:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_17456088_2658.c: At top level:
0_0_17456088_2658.c:23:1: error: unknown type name 'bool'
 bool two(char s[])
 ^
0_0_17456088_2658.c: In function 'two':
0_0_17456088_2658.c:25:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
     for(int i=7;i<10;++i)
     ^
0_0_17456088_2658.c: At top level:
0_0_17456088_2658.c:34:1: error: unknown type name 'bool'
 bool three(char s[])
 ^
0_0_17456088_2658.c: In function 'three':
0_0_17456088_2658.c:37:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
     for(int i=3;i<11;++i)
     ^
0_0_17456088_2658.c:53:9: error: expected expression before '/' token
         //不符合日期的规则
         ^
0_0_17456088_2658.c:53:9: error: stray '\262' in program
0_0_17456088_2658.c:53:9: error: stray '\273' in program
0_0_17456088_2658.c:53:9: error: stray '\267' in program
0_0_17456088_2658.c:53:9: error: stray '\373' in program
0_0_17456088_2658.c:53:9: error: stray '\272' in program
0_0_17456088_2658.c:53:9: error: stray '\317' in program
0_0_17456088_2658.c:53:9: error: stray '\310' in program
0_0_17456088_2658.c:53:9: error: stray '\325' in program
0_0_17456088_2658.c:53:9: error: stray '\306' in program
0_0_17456088_2658.c:53:9: error: stray '\332' in program
0_0_17456088_2658.c:53:9: error: stray '\265' in program
0_0_17456088_2658.c:53:9: error: stray '\304' in program
0_0_17456088_2658.c:53:9: error: stray '\271' in program
0_0_17456088_2658.c:53:9: error: stray '\346' in program
0_0_17456088_2658.c:53:9: error: stray '\324' in program
0_0_17456088_2658.c:53:9: error: stray '\362' in program
0_0_17456088_2658.c:57:5: error: stray '\314' in program
     if(month==2)//讨论二月
     ^
0_0_17456088_2658.c:57:5: error: stray '\326' in program
0_0_17456088_2658.c:57:5: error: stray '\302' in program
0_0_17456088_2658.c:57:5: error: stray '\333' in program
0_0_17456088_2658.c:57:5: error: stray '\266' in program
0_0_17456088_2658.c:57:5: error: stray '\376' in program
0_0_17456088_2658.c:57:5: error: stray '\324' in program
0_0_17456088_2658.c:57:5: error: stray '\302' in program
0_0_17456088_2658.c:59:9: error: stray '\305' in program
         int tp=fun(year);//判断闰年
         ^
0_0_17456088_2658.c:59:9: error: stray '\320' in program
0_0_17456088_2658.c:59:9: error: stray '\266' in program
0_0_17456088_2658.c:59:9: error: stray '\317' in program
0_0_17456088_2658.c:59:9: error: stray '\310' in program
0_0_17456088_2658.c:59:9: error: stray '\362' in program
0_0_17456088_2658.c:59:9: error: stray '\304' in program
0_0_17456088_2658.c:59:9: error: stray '\352' in program
0_0_17456088_2658.c:62:5: error: stray '\306' in program
     else//其他月份
     ^
0_0_17456088_2658.c:62:5: error: stray '\344' in program
0_0_17456088_2658.c:62:5: error: stray '\313' in program
0_0_17456088_2658.c:62:5: error: stray '\373' in program
0_0_17456088_2658.c:62:5: error: stray '\324' in program
0_0_17456088_2658.c:62:5: error: stray '\302' in program
0_0_17456088_2658.c:62:5: error: stray '\267' in program
0_0_17456088_2658.c:62:5: error: stray '\335' in program
0_0_17456088_2658.c: At top level:
0_0_17456088_2658.c:67:1: error: unknown type name 'bool'
 bool judge(char s[])
 ^


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 11:56:08, Gzip enabled