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_36452928_32125\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_36452928_32125\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
        ^
0_0_36452928_32125\Main.java:5: 错误: 需要class, interface或enum
const int P=1e9+7;
^
0_0_36452928_32125\Main.java:6: 错误: 需要class, interface或enum
ll n,ret1,ret2,ret3,q;
^
0_0_36452928_32125\Main.java:7: 错误: 需要class, interface或enum
int T;
^
0_0_36452928_32125\Main.java:10: 错误: 需要class, interface或enum
ll Pow(ll x,ll k) {
^
0_0_36452928_32125\Main.java:12: 错误: 需要class, interface或enum
    for (; k; k>>=1,x=x*x%P) if (k&1) ret=ret*x%P;
    ^
0_0_36452928_32125\Main.java:12: 错误: 需要class, interface或enum
    for (; k; k>>=1,x=x*x%P) if (k&1) ret=ret*x%P;
           ^
0_0_36452928_32125\Main.java:12: 错误: 需要class, interface或enum
    for (; k; k>>=1,x=x*x%P) if (k&1) ret=ret*x%P;
              ^
0_0_36452928_32125\Main.java:13: 错误: 需要class, interface或enum
    return ret;
    ^
0_0_36452928_32125\Main.java:14: 错误: 需要class, interface或enum
}
^
0_0_36452928_32125\Main.java:22: 错误: 需要class, interface或enum
    while (T--) {
    ^
0_0_36452928_32125\Main.java:26: 错误: 需要class, interface或enum
        ret1=n*n%P*(n+1)%P*(n+1)%P*(1+2*n)%P*Pow(12,P-2)%P*n%P*n%P;
        ^
0_0_36452928_32125\Main.java:31: 错误: 需要class, interface或enum
        ret2=(n*n)%P*((n+1)*(n+1))%P*(n*2+1)*Pow(12,P-2)%P;
        ^
0_0_36452928_32125\Main.java:32: 错误: 需要class, interface或enum
        ret3=((((n+1)*n)%P*Pow(2,P-2)%P+n*(n+1)%P*(n*2+1)%P*Pow(6,P-2)%P-2+P)%P)*(((n+1)*n%P*Pow(2,P-2)%P-1+P)%P)%P;
        ^
0_0_36452928_32125\Main.java:34: 错误: 需要class, interface或enum
        printf("%lld\n",((ret3+ret2)%P+P)%P);
        ^
0_0_36452928_32125\Main.java:35: 错误: 需要class, interface或enum
        printf("%lld\n",ret1);
        ^
0_0_36452928_32125\Main.java:36: 错误: 需要class, interface或enum
    }
    ^
0_0_36452928_32125\Main.java:40: 错误: 需要class, interface或enum
}
^
19 个错误


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-27 00:52:12, Gzip enabled