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_14972438_17347.c:21:1: error: expected identifier or '(' before '/' token
 // 12 primes
 ^
0_0_14972438_17347.c: In function 'isPrime':
0_0_14972438_17347.c:25:32: error: 'primes' undeclared (first use in this function)
     for (i = 0; i < 12 && x >= primes[i]; i++) {
                                ^
0_0_14972438_17347.c:25:32: note: each undeclared identifier is reported only once for each function it appears in
0_0_14972438_17347.c: At top level:
0_0_14972438_17347.c:31:1: error: expected identifier or '(' before '/' token
 // judge current level and previous
 ^


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 08:54:47, Gzip enabled