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_34953044_31380\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_34953044_31380\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
        ^
0_0_34953044_31380\Main.java:3: 错误: 需要class, interface或enum
struct dn{long long x,y;}a[100002],b[100002]; 
^
0_0_34953044_31380\Main.java:3: 错误: 需要class, interface或enum
struct dn{long long x,y;}a[100002],b[100002]; 
                        ^
0_0_34953044_31380\Main.java:4: 错误: 需要class, interface或enum
bool operator<(dn u,dn v){ return 1ull*u.x*v.y<1ull*v.x*u.y; }
^
0_0_34953044_31380\Main.java:4: 错误: 需要class, interface或enum
bool operator<(dn u,dn v){ return 1ull*u.x*v.y<1ull*v.x*u.y; }
                                                             ^
0_0_34953044_31380\Main.java:7: 错误: 需要class, interface或enum
int t; scanf("%d",&t); 
       ^
0_0_34953044_31380\Main.java:8: 错误: 需要class, interface或enum
for(int tt=1;tt<=t;tt++) {
^
0_0_34953044_31380\Main.java:8: 错误: 需要class, interface或enum
for(int tt=1;tt<=t;tt++) {
             ^
0_0_34953044_31380\Main.java:8: 错误: 需要class, interface或enum
for(int tt=1;tt<=t;tt++) {
                   ^
0_0_34953044_31380\Main.java:9: 错误: 需要class, interface或enum
int n,m; scanf("%d%d",&n,&m); 
         ^
0_0_34953044_31380\Main.java:10: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) scanf("%lld",&a[i].y); 
^
0_0_34953044_31380\Main.java:10: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) scanf("%lld",&a[i].y); 
            ^
0_0_34953044_31380\Main.java:10: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) scanf("%lld",&a[i].y); 
                 ^
0_0_34953044_31380\Main.java:11: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) scanf("%lld",&a[i].x); 
^
0_0_34953044_31380\Main.java:11: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) scanf("%lld",&a[i].x); 
            ^
0_0_34953044_31380\Main.java:11: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) scanf("%lld",&a[i].x); 
                 ^
0_0_34953044_31380\Main.java:12: 错误: 需要class, interface或enum
for(int i=1;i<=m;i++) scanf("%lld",&b[i].y); 
^
0_0_34953044_31380\Main.java:12: 错误: 需要class, interface或enum
for(int i=1;i<=m;i++) scanf("%lld",&b[i].y); 
            ^
0_0_34953044_31380\Main.java:12: 错误: 需要class, interface或enum
for(int i=1;i<=m;i++) scanf("%lld",&b[i].y); 
                 ^
0_0_34953044_31380\Main.java:13: 错误: 需要class, interface或enum
for(int i=1;i<=m;i++) scanf("%lld",&b[i].x); 
^
0_0_34953044_31380\Main.java:13: 错误: 需要class, interface或enum
for(int i=1;i<=m;i++) scanf("%lld",&b[i].x); 
            ^
0_0_34953044_31380\Main.java:13: 错误: 需要class, interface或enum
for(int i=1;i<=m;i++) scanf("%lld",&b[i].x); 
                 ^
0_0_34953044_31380\Main.java:14: 错误: 需要class, interface或enum
sort(a+1,a+n+1); sort(b+1,b+m+1); 
^
0_0_34953044_31380\Main.java:14: 错误: 需要class, interface或enum
sort(a+1,a+n+1); sort(b+1,b+m+1); 
                 ^
0_0_34953044_31380\Main.java:15: 错误: 需要class, interface或enum
__int128 sum1=0,sum2=0,z1=0,z2=0; 
^
0_0_34953044_31380\Main.java:16: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) {z1+=a[i].x; sum1+=z1*a[i].y;}
^
0_0_34953044_31380\Main.java:16: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) {z1+=a[i].x; sum1+=z1*a[i].y;}
            ^
0_0_34953044_31380\Main.java:16: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) {z1+=a[i].x; sum1+=z1*a[i].y;}
                 ^
0_0_34953044_31380\Main.java:16: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) {z1+=a[i].x; sum1+=z1*a[i].y;}
                                   ^
0_0_34953044_31380\Main.java:16: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) {z1+=a[i].x; sum1+=z1*a[i].y;}
                                                   ^
0_0_34953044_31380\Main.java:17: 错误: 需要class, interface或enum
for(int i=1;i<=m;i++) {z2+=b[i].x; sum2+=z2*b[1].y;}
            ^
0_0_34953044_31380\Main.java:17: 错误: 需要class, interface或enum
for(int i=1;i<=m;i++) {z2+=b[i].x; sum2+=z2*b[1].y;}
                 ^
0_0_34953044_31380\Main.java:17: 错误: 需要class, interface或enum
for(int i=1;i<=m;i++) {z2+=b[i].x; sum2+=z2*b[1].y;}
                                   ^
0_0_34953044_31380\Main.java:17: 错误: 需要class, interface或enum
for(int i=1;i<=m;i++) {z2+=b[i].x; sum2+=z2*b[1].y;}
                                                   ^
0_0_34953044_31380\Main.java:19: 错误: 需要class, interface或enum
else if(sum1<sum2) printf("Towers win\n"); 
^
0_0_34953044_31380\Main.java:20: 错误: 需要class, interface或enum
else printf("Units win\n"); 
^
0_0_34953044_31380\Main.java:21: 错误: 需要class, interface或enum
}
^
38 个错误


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-01-10 03:18:09, Gzip enabled