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_15570116_1958\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_15570116_1958\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
        ^
0_0_15570116_1958\Main.java:2: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_15570116_1958\Main.java:3: 错误: 非法字符: '#'
#include<cmath>
^
0_0_15570116_1958\Main.java:4: 错误: 非法字符: '#'
#include<cstring>
^
0_0_15570116_1958\Main.java:5: 错误: 非法字符: '#'
#include<map>
^
0_0_15570116_1958\Main.java:6: 错误: 非法字符: '#'
#include<stack>
^
0_0_15570116_1958\Main.java:8: 错误: 需要class, interface或enum
const int maxn=1e7;
^
0_0_15570116_1958\Main.java:9: 错误: 需要class, interface或enum
long long seed;
^
0_0_15570116_1958\Main.java:10: 错误: 需要class, interface或enum
int a[maxn+5],num[maxn+5];
^
0_0_15570116_1958\Main.java:11: 错误: 需要class, interface或enum
int rand(int l,int r)
^
0_0_15570116_1958\Main.java:14: 错误: 需要class, interface或enum
    return l+((seed*=g)%=mo)%(r-l+1);
    ^
0_0_15570116_1958\Main.java:15: 错误: 需要class, interface或enum
}
^
0_0_15570116_1958\Main.java:19: 错误: 需要class, interface或enum
    int n,q;
    ^
0_0_15570116_1958\Main.java:20: 错误: 需要class, interface或enum
    scanf("%d",&T);
    ^
0_0_15570116_1958\Main.java:21: 错误: 需要class, interface或enum
    while(T--)
    ^
0_0_15570116_1958\Main.java:24: 错误: 需要class, interface或enum
        memset(num,0,sizeof(num));
        ^
0_0_15570116_1958\Main.java:25: 错误: 需要class, interface或enum
        int sum=rand(q,maxn);
        ^
0_0_15570116_1958\Main.java:26: 错误: 需要class, interface或enum
        int up=sum-q,cha=0;
        ^
0_0_15570116_1958\Main.java:27: 错误: 需要class, interface或enum
        for(i=1;i<=n;i++)
        ^
0_0_15570116_1958\Main.java:27: 错误: 需要class, interface或enum
        for(i=1;i<=n;i++)
                ^
0_0_15570116_1958\Main.java:27: 错误: 需要class, interface或enum
        for(i=1;i<=n;i++)
                     ^
0_0_15570116_1958\Main.java:30: 错误: 需要class, interface或enum
            if(a[i]>up)
            ^
0_0_15570116_1958\Main.java:32: 错误: 需要class, interface或enum
            else
            ^
0_0_15570116_1958\Main.java:34: 错误: 需要class, interface或enum
            sum-=a[i];
            ^
0_0_15570116_1958\Main.java:35: 错误: 需要class, interface或enum
        }
        ^
0_0_15570116_1958\Main.java:37: 错误: 需要class, interface或enum
        if(a[k]>up)
        ^
0_0_15570116_1958\Main.java:39: 错误: 需要class, interface或enum
        else
        ^
0_0_15570116_1958\Main.java:41: 错误: 需要class, interface或enum
        a[k]+=sum;
        ^
0_0_15570116_1958\Main.java:42: 错误: 需要class, interface或enum
        if(a[k]>up)
        ^
0_0_15570116_1958\Main.java:44: 错误: 需要class, interface或enum
        else
        ^
0_0_15570116_1958\Main.java:46: 错误: 需要class, interface或enum
        q-=cha;
        ^
0_0_15570116_1958\Main.java:47: 错误: 需要class, interface或enum
        for(i=up;i>0;i--)
        ^
0_0_15570116_1958\Main.java:47: 错误: 需要class, interface或enum
        for(i=up;i>0;i--)
                 ^
0_0_15570116_1958\Main.java:47: 错误: 需要class, interface或enum
        for(i=up;i>0;i--)
                     ^
0_0_15570116_1958\Main.java:52: 错误: 需要class, interface或enum
                num[i]-=q;
                ^
0_0_15570116_1958\Main.java:53: 错误: 需要class, interface或enum
                break;
                ^
0_0_15570116_1958\Main.java:54: 错误: 需要class, interface或enum
            }
            ^
0_0_15570116_1958\Main.java:56: 错误: 需要class, interface或enum
            q-=num[i];
            ^
0_0_15570116_1958\Main.java:57: 错误: 需要class, interface或enum
        }
        ^
0_0_15570116_1958\Main.java:59: 错误: 需要class, interface或enum
        for(j=n;j>0;j--)
        ^
0_0_15570116_1958\Main.java:59: 错误: 需要class, interface或enum
        for(j=n;j>0;j--)
                ^
0_0_15570116_1958\Main.java:59: 错误: 需要class, interface或enum
        for(j=n;j>0;j--)
                    ^
0_0_15570116_1958\Main.java:65: 错误: 需要class, interface或enum
                else
                ^
0_0_15570116_1958\Main.java:67: 错误: 需要class, interface或enum
            }
            ^
0_0_15570116_1958\Main.java:69: 错误: 需要class, interface或enum
        }
        ^
0_0_15570116_1958\Main.java:71: 错误: 需要class, interface或enum
    }
    ^
0_0_15570116_1958\Main.java:73: 错误: 需要class, interface或enum
}
^
48 个错误


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-22 21:59:55, Gzip enabled