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_28636324_23552.c:3:1: error: unknown type name 'bool'
 bool use[21];
 ^
0_0_28636324_23552.c:7:1: error: unknown type name 'bool'
 bool isprime(int m)
 ^
0_0_28636324_23552.c: In function 'isprime':
0_0_28636324_23552.c:14:20: error: 'false' undeclared (first use in this function)
             return false;
                    ^
0_0_28636324_23552.c:14:20: note: each undeclared identifier is reported only once for each function it appears in
0_0_28636324_23552.c:17:12: error: 'true' undeclared (first use in this function)
     return true;
            ^
0_0_28636324_23552.c: In function 'init':
0_0_28636324_23552.c:24:18: error: 'false' undeclared (first use in this function)
         use[i] = false;
                  ^
0_0_28636324_23552.c:26:14: error: expected expression before '/' token
     a[0] = 1;//让第一个数是1,因为是一个圆,是其他任何数都可以
              ^
0_0_28636324_23552.c:26:14: error: stray '\310' in program
0_0_28636324_23552.c:26:14: error: stray '\303' in program
0_0_28636324_23552.c:26:14: error: stray '\265' in program
0_0_28636324_23552.c:26:14: error: stray '\332' in program
0_0_28636324_23552.c:26:14: error: stray '\322' in program
0_0_28636324_23552.c:26:14: error: stray '\273' in program
0_0_28636324_23552.c:26:14: error: stray '\270' in program
0_0_28636324_23552.c:26:14: error: stray '\366' in program
0_0_28636324_23552.c:26:14: error: stray '\312' in program
0_0_28636324_23552.c:26:14: error: stray '\375' in program
0_0_28636324_23552.c:26:14: error: stray '\312' in program
0_0_28636324_23552.c:26:14: error: stray '\307' in program
0_0_28636324_23552.c:26:14: error: stray '\243' in program
0_0_28636324_23552.c:26:14: error: stray '\254' in program
0_0_28636324_23552.c:26:14: error: stray '\322' in program
0_0_28636324_23552.c:26:14: error: stray '\362' in program
0_0_28636324_23552.c:26:14: error: stray '\316' in program
0_0_28636324_23552.c:26:14: error: stray '\252' in program
0_0_28636324_23552.c:26:14: error: stray '\312' in program
0_0_28636324_23552.c:26:14: error: stray '\307' in program
0_0_28636324_23552.c:26:14: error: stray '\322' in program
0_0_28636324_23552.c:26:14: error: stray '\273' in program
0_0_28636324_23552.c:26:14: error: stray '\270' in program
0_0_28636324_23552.c:26:14: error: stray '\366' in program
0_0_28636324_23552.c:26:14: error: stray '\324' in program
0_0_28636324_23552.c:26:14: error: stray '\262' in program
0_0_28636324_23552.c:26:14: error: stray '\243' in program
0_0_28636324_23552.c:26:14: error: stray '\254' in program
0_0_28636324_23552.c:26:14: error: stray '\312' in program
0_0_28636324_23552.c:26:14: error: stray '\307' in program
0_0_28636324_23552.c:26:14: error: stray '\306' in program
0_0_28636324_23552.c:26:14: error: stray '\344' in program
0_0_28636324_23552.c:26:14: error: stray '\313' in program
0_0_28636324_23552.c:26:14: error: stray '\373' in program
0_0_28636324_23552.c:26:14: error: stray '\310' in program
0_0_28636324_23552.c:26:14: error: stray '\316' in program
0_0_28636324_23552.c:26:14: error: stray '\272' in program
0_0_28636324_23552.c:26:14: error: stray '\316' in program
0_0_28636324_23552.c:26:14: error: stray '\312' in program
0_0_28636324_23552.c:26:14: error: stray '\375' in program
0_0_28636324_23552.c:26:14: error: stray '\266' in program
0_0_28636324_23552.c:26:14: error: stray '\274' in program
0_0_28636324_23552.c:26:14: error: stray '\277' in program
0_0_28636324_23552.c:26:14: error: stray '\311' in program
0_0_28636324_23552.c:26:14: error: stray '\322' in program
0_0_28636324_23552.c:26:14: error: stray '\324' in program
0_0_28636324_23552.c: In function 'dfs':
0_0_28636324_23552.c:29:18: error: expected declaration specifiers before '/' token
 void dfs(int num)//搜索当前第num位置应该放的数字
                  ^
0_0_28636324_23552.c:29:18: error: stray '\313' in program
0_0_28636324_23552.c:29:18: error: stray '\321' in program
0_0_28636324_23552.c:29:18: error: stray '\313' in program
0_0_28636324_23552.c:29:18: error: stray '\367' in program
0_0_28636324_23552.c:29:18: error: stray '\265' in program
0_0_28636324_23552.c:29:18: error: stray '\261' in program
0_0_28636324_23552.c:29:18: error: stray '\307' in program
0_0_28636324_23552.c:29:18: error: stray '\260' in program
0_0_28636324_23552.c:29:18: error: stray '\265' in program
0_0_28636324_23552.c:29:18: error: stray '\332' in program
0_0_28636324_23552.c:29:18: error: stray '\316' in program
0_0_28636324_23552.c:29:18: error: stray '\273' in program
0_0_28636324_23552.c:29:18: error: stray '\326' in program
0_0_28636324_23552.c:29:18: error: stray '\303' in program
0_0_28636324_23552.c:29:18: error: stray '\323' in program
0_0_28636324_23552.c:29:18: error: stray '\246' in program
0_0_28636324_23552.c:29:18: error: stray '\270' in program
0_0_28636324_23552.c:29:18: error: stray '\303' in program
0_0_28636324_23552.c:29:18: error: stray '\267' in program
0_0_28636324_23552.c:29:18: error: stray '\305' in program
0_0_28636324_23552.c:29:18: error: stray '\265' in program
0_0_28636324_23552.c:29:18: error: stray '\304' in program
0_0_28636324_23552.c:29:18: error: stray '\312' in program
0_0_28636324_23552.c:29:18: error: stray '\375' in program
0_0_28636324_23552.c:29:18: error: stray '\327' in program
0_0_28636324_23552.c:29:18: error: stray '\326' in program
0_0_28636324_23552.c:32:5: error: stray '\327' in program
     if(num == n && isprime( 1 + a[n-1]))//最后一个位置的比较
     ^
0_0_28636324_23552.c:32:5: error: stray '\356' in program
0_0_28636324_23552.c:32:5: error: stray '\272' in program
0_0_28636324_23552.c:32:5: error: stray '\363' in program
0_0_28636324_23552.c:32:5: error: stray '\322' in program
0_0_28636324_23552.c:32:5: error: stray '\273' in program
0_0_28636324_23552.c:32:5: error: stray '\270' in program
0_0_28636324_23552.c:32:5: error: stray '\366' in program
0_0_28636324_23552.c:32:5: error: stray '\316' in program
0_0_28636324_23552.c:32:5: error: stray '\273' in program
0_0_28636324_23552.c:32:5: error: stray '\326' in program
0_0_28636324_23552.c:32:5: error: stray '\303' in program
0_0_28636324_23552.c:32:5: error: stray '\265' in program
0_0_28636324_23552.c:32:5: error: stray '\304' in program
0_0_28636324_23552.c:32:5: error: stray '\261' in program
0_0_28636324_23552.c:32:5: error: stray '\310' in program
0_0_28636324_23552.c:32:5: error: stray '\275' in program
0_0_28636324_23552.c:32:5: error: stray '\317' in program
0_0_28636324_23552.c:34:9: error: stray '\264' in program
         for(i=0;i<n;i++)//打印出来
         ^
0_0_28636324_23552.c:34:9: error: stray '\362' in program
0_0_28636324_23552.c:34:9: error: stray '\323' in program
0_0_28636324_23552.c:34:9: error: stray '\241' in program
0_0_28636324_23552.c:34:9: error: stray '\263' in program
0_0_28636324_23552.c:34:9: error: stray '\366' in program
0_0_28636324_23552.c:34:9: error: stray '\300' in program
0_0_28636324_23552.c:34:9: error: stray '\264' in program
0_0_28636324_23552.c:41:9: error: stray '\303' in program
         for( i = 2; i <= n; i++)//枚举每一个数
         ^
0_0_28636324_23552.c:41:9: error: stray '\266' in program
0_0_28636324_23552.c:41:9: error: stray '\276' in program
0_0_28636324_23552.c:41:9: error: stray '\331' in program
0_0_28636324_23552.c:41:9: error: stray '\303' in program
0_0_28636324_23552.c:41:9: error: stray '\277' in program
0_0_28636324_23552.c:41:9: error: stray '\322' in program
0_0_28636324_23552.c:41:9: error: stray '\273' in program
0_0_28636324_23552.c:41:9: error: stray '\270' in program
0_0_28636324_23552.c:41:9: error: stray '\366' in program
0_0_28636324_23552.c:41:9: error: stray '\312' in program
0_0_28636324_23552.c:41:9: error: stray '\375' in program
0_0_28636324_23552.c:43:13: error: stray '\310' in program
             if( isprime( i+a[num-1]) && !use[i] )//如果这个数符合和当前数成素数的条件并且没有使用过,就把它作为当前的下一个的相邻数
             ^
0_0_28636324_23552.c:43:13: error: stray '\347' in program
0_0_28636324_23552.c:43:13: error: stray '\271' in program
0_0_28636324_23552.c:43:13: error: stray '\373' in program
0_0_28636324_23552.c:43:13: error: stray '\325' in program
0_0_28636324_23552.c:43:13: error: stray '\342' in program
0_0_28636324_23552.c:43:13: error: stray '\270' in program
0_0_28636324_23552.c:43:13: error: stray '\366' in program
0_0_28636324_23552.c:43:13: error: stray '\312' in program
0_0_28636324_23552.c:43:13: error: stray '\375' in program
0_0_28636324_23552.c:43:13: error: stray '\267' in program
0_0_28636324_23552.c:43:13: error: stray '\373' in program
0_0_28636324_23552.c:43:13: error: stray '\272' in program
0_0_28636324_23552.c:43:13: error: stray '\317' in program
0_0_28636324_23552.c:43:13: error: stray '\272' in program
0_0_28636324_23552.c:43:13: error: stray '\315' in program
0_0_28636324_23552.c:43:13: error: stray '\265' in program
0_0_28636324_23552.c:43:13: error: stray '\261' in program
0_0_28636324_23552.c:43:13: error: stray 


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-12-03 04:23:39, Gzip enabled