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_38347659_21724.c: In function 'main':
0_0_38347659_21724.c:9:2: error: expected ',' or ';' before 'for'
  for( i = 0; a[i] != '\0';++i){
  ^
0_0_38347659_21724.c:9:14: error: 'a' undeclared (first use in this function)
  for( i = 0; a[i] != '\0';++i){
              ^
0_0_38347659_21724.c:9:14: note: each undeclared identifier is reported only once for each function it appears in
0_0_38347659_21724.c:9:30: error: expected ';' before ')' token
  for( i = 0; a[i] != '\0';++i){
                              ^
0_0_38347659_21724.c:9:30: error: expected statement before ')' token
0_0_38347659_21724.c:11:6: error: 'dight' undeclared (first use in this function)
    ++dight;
      ^


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-16 17:09:39, Gzip enabled