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_6669197_2943\Main.java:1: class, interface, or enum expected
1.#include <stdio.h>  
^
0_0_6669197_2943\Main.java:1: illegal character: \35
1.#include <stdio.h>  
  ^
0_0_6669197_2943\Main.java:4: class, interface, or enum expected
4.int year, mouth, day;  
^
0_0_6669197_2943\Main.java:5: class, interface, or enum expected
5.  
^
0_0_6669197_2943\Main.java:9: class, interface, or enum expected
9.}  
^
0_0_6669197_2943\Main.java:14: class, interface, or enum expected
14.    flag = num = 0;  
^
0_0_6669197_2943\Main.java:15: class, interface, or enum expected
15.    for(i = 0; dayStr[i] != '\0'; i++)  
^
0_0_6669197_2943\Main.java:15: class, interface, or enum expected
15.    for(i = 0; dayStr[i] != '\0'; i++)  
                  ^
0_0_6669197_2943\Main.java:15: class, interface, or enum expected
15.    for(i = 0; dayStr[i] != '\0'; i++)  
                                     ^
0_0_6669197_2943\Main.java:20: class, interface, or enum expected
20.        }  
^
0_0_6669197_2943\Main.java:26: class, interface, or enum expected
26.                flag++;  
^
0_0_6669197_2943\Main.java:27: class, interface, or enum expected
27.            }  
^
0_0_6669197_2943\Main.java:30: class, interface, or enum expected
30.            num = 0;  
^
0_0_6669197_2943\Main.java:31: class, interface, or enum expected
31.        }  
^
0_0_6669197_2943\Main.java:34: class, interface, or enum expected
34.}  
^
0_0_6669197_2943\Main.java:40: class, interface, or enum expected
40.    return 0;  
^
0_0_6669197_2943\Main.java:41: class, interface, or enum expected
41.}  
^
0_0_6669197_2943\Main.java:46: class, interface, or enum expected
46.    int i, total, flag;  
^
0_0_6669197_2943\Main.java:47: class, interface, or enum expected
47.    while(scanf("%s", dayStr) != EOF)  
^
0_0_6669197_2943\Main.java:50: class, interface, or enum expected
50.        GetNumber(dayStr);  
^
0_0_6669197_2943\Main.java:51: class, interface, or enum expected
51.        flag = isLeapYear();  
^
0_0_6669197_2943\Main.java:52: class, interface, or enum expected
52.      
^
0_0_6669197_2943\Main.java:53: class, interface, or enum expected
53.        for(i = 1; i < mouth; i++)  
                      ^
0_0_6669197_2943\Main.java:53: class, interface, or enum expected
53.        for(i = 1; i < mouth; i++)  
                                 ^
0_0_6669197_2943\Main.java:55: class, interface, or enum expected
55.        total += day;  
^
0_0_6669197_2943\Main.java:56: class, interface, or enum expected
56.        printf("%d\n", total);  
^
0_0_6669197_2943\Main.java:57: class, interface, or enum expected
57.    }  
^
0_0_6669197_2943\Main.java:59: class, interface, or enum expected
59.}  
^
28 errors


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-17 01:44:24, Gzip enabled