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_7888038_10468\Main.java:14: 找不到符号
符号: 类 SimpleDateFormat
位置: 类 Datetest
        SimpleDateFormat sft = new SimpleDateFormat("yyyy/MM/dd");
        ^
0_0_7888038_10468\Main.java:14: 找不到符号
符号: 类 SimpleDateFormat
位置: 类 Datetest
        SimpleDateFormat sft = new SimpleDateFormat("yyyy/MM/dd");
                                   ^
0_0_7888038_10468\Main.java:17: 找不到符号
符号: 类 ParseException
位置: 类 Datetest
        } catch (ParseException e) {
                 ^
0_0_7888038_10468\Main.java:24: 找不到符号
符号: 变量 d
位置: 类 Datetest
            calendar1.setTime(d);
                              ^
0_0_7888038_10468\Main.java:25: 找不到符号
符号: 变量 calendar
位置: 类 Datetest
            calendar1.add(calendar.DATE,b[i]);
                          ^
0_0_7888038_10468\Main.java:27: 找不到符号
符号: 变量 formatter
位置: 类 Datetest
            String dateafter = formatter.format(date1);
                               ^
0_0_7888038_10468\Main.java:31: 找不到符号
符号: 变量 d
位置: 类 Datetest
            calendar2.setTime(d);
                              ^
0_0_7888038_10468\Main.java:32: 找不到符号
符号: 变量 calendar
位置: 类 Datetest
            calendar2.add(calendar.DATE,-b[i]);
                          ^
0_0_7888038_10468\Main.java:34: 找不到符号
符号: 变量 formatter
位置: 类 Datetest
            String datebefore = formatter.format(date2);
                                ^
9 错误


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-09-21 19:42:31, Gzip enabled