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_18436367_31773\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_18436367_31773\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
        ^
0_0_18436367_31773\Main.java:3: 错误: 需要class, interface或enum
int gcd(int a,int b)
^
0_0_18436367_31773\Main.java:6: 错误: 需要class, interface或enum
}
^
0_0_18436367_31773\Main.java:10: 错误: 需要class, interface或enum
    int w[10],w1[10];
    ^
0_0_18436367_31773\Main.java:11: 错误: 需要class, interface或enum
    scanf("%d",&q);
    ^
0_0_18436367_31773\Main.java:12: 错误: 需要class, interface或enum
    int t=1;
    ^
0_0_18436367_31773\Main.java:13: 错误: 需要class, interface或enum
    for(int i=0; i<q; i++)
    ^
0_0_18436367_31773\Main.java:13: 错误: 需要class, interface或enum
    for(int i=0; i<q; i++)
                 ^
0_0_18436367_31773\Main.java:13: 错误: 需要class, interface或enum
    for(int i=0; i<q; i++)
                      ^
0_0_18436367_31773\Main.java:16: 错误: 需要class, interface或enum
        memset(w1,0,sizeof(w1));
        ^
0_0_18436367_31773\Main.java:17: 错误: 需要class, interface或enum
        int q1;
        ^
0_0_18436367_31773\Main.java:18: 错误: 需要class, interface或enum
        scanf("%d",&q1);
        ^
0_0_18436367_31773\Main.java:19: 错误: 需要class, interface或enum
        for(int j=0; j<q1; j++)
        ^
0_0_18436367_31773\Main.java:19: 错误: 需要class, interface或enum
        for(int j=0; j<q1; j++)
                     ^
0_0_18436367_31773\Main.java:19: 错误: 需要class, interface或enum
        for(int j=0; j<q1; j++)
                           ^
0_0_18436367_31773\Main.java:21: 错误: 需要class, interface或enum
        for(int j=0; j<q1; j++)
        ^
0_0_18436367_31773\Main.java:21: 错误: 需要class, interface或enum
        for(int j=0; j<q1; j++)
                     ^
0_0_18436367_31773\Main.java:21: 错误: 需要class, interface或enum
        for(int j=0; j<q1; j++)
                           ^
0_0_18436367_31773\Main.java:23: 错误: 需要class, interface或enum
        int  e2=w[q1-1];
        ^
0_0_18436367_31773\Main.java:24: 错误: 需要class, interface或enum
        int e1=1;
        ^
0_0_18436367_31773\Main.java:25: 错误: 需要class, interface或enum
        for(int j=q1-1; j>=1; j--)
        ^
0_0_18436367_31773\Main.java:25: 错误: 需要class, interface或enum
        for(int j=q1-1; j>=1; j--)
                        ^
0_0_18436367_31773\Main.java:25: 错误: 需要class, interface或enum
        for(int j=q1-1; j>=1; j--)
                              ^
0_0_18436367_31773\Main.java:28: 错误: 需要class, interface或enum
            int e=(w1[j]*e1)/s;
            ^
0_0_18436367_31773\Main.java:29: 错误: 需要class, interface或enum
            int e1=e2/s;
            ^
0_0_18436367_31773\Main.java:30: 错误: 需要class, interface或enum
            int e2=e+w[j-1]*e1;
            ^
0_0_18436367_31773\Main.java:32: 错误: 需要class, interface或enum
        }
        ^
0_0_18436367_31773\Main.java:34: 错误: 需要class, interface或enum
        if(q1!=1)
        ^
0_0_18436367_31773\Main.java:36: 错误: 需要class, interface或enum
        else
        ^
0_0_18436367_31773\Main.java:40: 错误: 需要class, interface或enum
    }
    ^
0_0_18436367_31773\Main.java:42: 错误: 需要class, interface或enum
}
^
32 个错误


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-23 08:14:32, Gzip enabled