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_15429572_16989\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_15429572_16989\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
        ^
0_0_15429572_16989\Main.java:2: 错误: 非法字符: '#'
#include<stdio.h>
^
0_0_15429572_16989\Main.java:3: 错误: 非法字符: '#'
#include<math.h>
^
0_0_15429572_16989\Main.java:6: 错误: 需要class, interface或enum
int main()
^
0_0_15429572_16989\Main.java:8: 错误: 需要class, interface或enum
    int t;scanf("%d",&t);
          ^
0_0_15429572_16989\Main.java:9: 错误: 需要class, interface或enum
    for(int cas=1;cas<=t;cas++)
    ^
0_0_15429572_16989\Main.java:9: 错误: 需要class, interface或enum
    for(int cas=1;cas<=t;cas++)
                  ^
0_0_15429572_16989\Main.java:9: 错误: 需要class, interface或enum
    for(int cas=1;cas<=t;cas++)
                         ^
0_0_15429572_16989\Main.java:12: 错误: 需要class, interface或enum
        cin>>T>>v1>>v2;
        ^
0_0_15429572_16989\Main.java:13: 错误: 需要class, interface或enum
        if(v1==v2)//第一段相遇
        ^
0_0_15429572_16989\Main.java:16: 错误: 需要class, interface或enum
            continue;
            ^
0_0_15429572_16989\Main.java:17: 错误: 需要class, interface或enum
        }
        ^
0_0_15429572_16989\Main.java:22: 错误: 需要class, interface或enum
            for(int i=0;i<100;i++)
            ^
0_0_15429572_16989\Main.java:22: 错误: 需要class, interface或enum
            for(int i=0;i<100;i++)
                        ^
0_0_15429572_16989\Main.java:22: 错误: 需要class, interface或enum
            for(int i=0;i<100;i++)
                              ^
0_0_15429572_16989\Main.java:25: 错误: 需要class, interface或enum
                double len = mid * mid + 300 * 300;
                ^
0_0_15429572_16989\Main.java:26: 错误: 需要class, interface或enum
                len = sqrt(len);
                ^
0_0_15429572_16989\Main.java:27: 错误: 需要class, interface或enum
                double t1 = len / v1;
                ^
0_0_15429572_16989\Main.java:28: 错误: 需要class, interface或enum
                double t2 = 300 / v2 + mid / v2;
                ^
0_0_15429572_16989\Main.java:29: 错误: 需要class, interface或enum
                if(t1 > t2)l = mid;
                ^
0_0_15429572_16989\Main.java:30: 错误: 需要class, interface或enum
                else r = mid;
                ^
0_0_15429572_16989\Main.java:31: 错误: 需要class, interface或enum
            }
            ^
0_0_15429572_16989\Main.java:33: 错误: 需要class, interface或enum
            t1 = sqrt(l*l+300*300)/v1+l/v1+2*300/v1;
            ^
0_0_15429572_16989\Main.java:34: 错误: 需要class, interface或enum
            t2 = T + 3*300 / v2;
            ^
0_0_15429572_16989\Main.java:35: 错误: 需要class, interface或enum
            if(t1<=t2)printf("Case #%d: Yes\n",cas);
            ^
0_0_15429572_16989\Main.java:36: 错误: 需要class, interface或enum
            else printf("Case #%d: No\n",cas);
            ^
0_0_15429572_16989\Main.java:37: 错误: 需要class, interface或enum
        }
        ^
0_0_15429572_16989\Main.java:41: 错误: 需要class, interface或enum
            for(int i=0;i<100;i++)
            ^
0_0_15429572_16989\Main.java:41: 错误: 需要class, interface或enum
            for(int i=0;i<100;i++)
                        ^
0_0_15429572_16989\Main.java:41: 错误: 需要class, interface或enum
            for(int i=0;i<100;i++)
                              ^
0_0_15429572_16989\Main.java:44: 错误: 需要class, interface或enum
                double len = mid * mid + 300 * 300;
                ^
0_0_15429572_16989\Main.java:45: 错误: 需要class, interface或enum
                len = sqrt(len);
                ^
0_0_15429572_16989\Main.java:46: 错误: 需要class, interface或enum
                double t1 = len / v1;
                ^
0_0_15429572_16989\Main.java:47: 错误: 需要class, interface或enum
                double t2 = (900 - mid) / v2;
                ^
0_0_15429572_16989\Main.java:48: 错误: 需要class, interface或enum
                if(t1 > t2)r = mid;
                ^
0_0_15429572_16989\Main.java:49: 错误: 需要class, interface或enum
                else l = mid;
                ^
0_0_15429572_16989\Main.java:50: 错误: 需要class, interface或enum
            }
            ^
0_0_15429572_16989\Main.java:52: 错误: 需要class, interface或enum
            t1 = sqrt(300*300+l*l)/v1+sqrt(300*300+(300-l)*(300-l))/v1+3*300/v1;
            ^
0_0_15429572_16989\Main.java:53: 错误: 需要class, interface或enum
            t2 = T + 300*4/v2;
            ^
0_0_15429572_16989\Main.java:54: 错误: 需要class, interface或enum
            if(t1<=t2)printf("Case #%d: Yes\n",cas);
            ^
0_0_15429572_16989\Main.java:55: 错误: 需要class, interface或enum
            else printf("Case #%d: No\n",cas);
            ^
0_0_15429572_16989\Main.java:56: 错误: 需要class, interface或enum
        }
        ^
0_0_15429572_16989\Main.java:58: 错误: 需要class, interface或enum
    }
    ^
44 个错误


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 06:13:03, Gzip enabled