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_5929337_9159\Main.java:1: illegal character: \35
#include<iostream>
^
0_0_5929337_9159\Main.java:2: illegal character: \35
#include<iomanip>
^
0_0_5929337_9159\Main.java:3: illegal character: \35
#include<cmath>
^
0_0_5929337_9159\Main.java:5: class, interface, or enum expected
float  f[100005][2];
^
0_0_5929337_9159\Main.java:6: class, interface, or enum expected
const  float INF = 100000000;
^
0_0_5929337_9159\Main.java:7: class, interface, or enum expected
int N;
^
0_0_5929337_9159\Main.java:8: class, interface, or enum expected
int main() {
^
0_0_5929337_9159\Main.java:10: class, interface, or enum expected
   for (int i = 0; i < N; i++)
                   ^
0_0_5929337_9159\Main.java:10: class, interface, or enum expected
   for (int i = 0; i < N; i++)
                          ^
0_0_5929337_9159\Main.java:12: class, interface, or enum expected
   float ans = INF;
   ^
0_0_5929337_9159\Main.java:13: class, interface, or enum expected
   for (int i = 0;i < N; i++)
   ^
0_0_5929337_9159\Main.java:13: class, interface, or enum expected
   for (int i = 0;i < N; i++)
                  ^
0_0_5929337_9159\Main.java:13: class, interface, or enum expected
   for (int i = 0;i < N; i++)
                         ^
0_0_5929337_9159\Main.java:14: class, interface, or enum expected
     for (int j = i + 1; j < N; j++) {
                         ^
0_0_5929337_9159\Main.java:14: class, interface, or enum expected
     for (int j = i + 1; j < N; j++) {
                                ^
0_0_5929337_9159\Main.java:16: class, interface, or enum expected
         float l = (f[i][1] - f[j][1]) * (f[i][1] - f[j][1]) + m;
         ^
0_0_5929337_9159\Main.java:17: class, interface, or enum expected
         l = sqrt(l) / 2;
         ^
0_0_5929337_9159\Main.java:18: class, interface, or enum expected
         if (l < ans) ans = l;
         ^
0_0_5929337_9159\Main.java:19: class, interface, or enum expected
     }
     ^
0_0_5929337_9159\Main.java:21: class, interface, or enum expected
 }
 ^
0_0_5929337_9159\Main.java:23: class, interface, or enum expected
}
^
21 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 03:30:48, Gzip enabled