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_17865124_2759\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_17865124_2759\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_17865124_2759\Main.java:6: 错误: 需要class, interface或enum
const int MaxK = 100000 + 5;
^
0_0_17865124_2759\Main.java:7: 错误: 需要class, interface或enum
const long long mod = 1000000007LL;
^
0_0_17865124_2759\Main.java:9: 错误: 需要class, interface或enum
long long mul(long long x, long long y) {
^
0_0_17865124_2759\Main.java:11: 错误: 需要class, interface或enum
    for (long long i = 1; i <= y; i *= 2, x = x * 2 % mod) if (i & y) ans = (ans + x) % mod;
    ^
0_0_17865124_2759\Main.java:11: 错误: 需要class, interface或enum
    for (long long i = 1; i <= y; i *= 2, x = x * 2 % mod) if (i & y) ans = (ans + x) % mod;
                          ^
0_0_17865124_2759\Main.java:11: 错误: 需要class, interface或enum
    for (long long i = 1; i <= y; i *= 2, x = x * 2 % mod) if (i & y) ans = (ans + x) % mod;
                                  ^
0_0_17865124_2759\Main.java:12: 错误: 需要class, interface或enum
    return ans;
    ^
0_0_17865124_2759\Main.java:13: 错误: 需要class, interface或enum
}
^
0_0_17865124_2759\Main.java:18: 错误: 需要class, interface或enum
    } else {
    ^
0_0_17865124_2759\Main.java:20: 错误: 需要class, interface或enum
    }
    ^
0_0_17865124_2759\Main.java:25: 错误: 需要class, interface或enum
    if (a%2==0) a=a/2;
    ^
0_0_17865124_2759\Main.java:26: 错误: 需要class, interface或enum
    else if (b%2==0) b=b/2;
    ^
0_0_17865124_2759\Main.java:27: 错误: 需要class, interface或enum
    if (a%3==0) a=a/3;
    ^
0_0_17865124_2759\Main.java:28: 错误: 需要class, interface或enum
    else if (b/3==0) b=b/3;
    ^
0_0_17865124_2759\Main.java:29: 错误: 需要class, interface或enum
    else c=c/3;
    ^
0_0_17865124_2759\Main.java:30: 错误: 需要class, interface或enum
    return mul(a,mul(b,c));
    ^
0_0_17865124_2759\Main.java:31: 错误: 需要class, interface或enum
}
^
0_0_17865124_2759\Main.java:34: 错误: 需要class, interface或enum
long long ans;
^
0_0_17865124_2759\Main.java:35: 错误: 需要class, interface或enum
int k;
^
0_0_17865124_2759\Main.java:38: 错误: 需要class, interface或enum
int main() {
^
0_0_17865124_2759\Main.java:40: 错误: 需要class, interface或enum
    cin.tie(0);
    ^
0_0_17865124_2759\Main.java:41: 错误: 需要class, interface或enum
    cout.tie(0);
    ^
0_0_17865124_2759\Main.java:42: 错误: 需要class, interface或enum
    num[0] = dp[0] = 1;
    ^
0_0_17865124_2759\Main.java:43: 错误: 需要class, interface或enum
    num[1] = dp[1] = 1;
    ^
0_0_17865124_2759\Main.java:44: 错误: 需要class, interface或enum
    for (int i = 2; i < MaxK; i++) {
    ^
0_0_17865124_2759\Main.java:44: 错误: 需要class, interface或enum
    for (int i = 2; i < MaxK; i++) {
                    ^
0_0_17865124_2759\Main.java:44: 错误: 需要class, interface或enum
    for (int i = 2; i < MaxK; i++) {
                              ^
0_0_17865124_2759\Main.java:46: 错误: 需要class, interface或enum
        dp[i] = (dp[i - 1] + num[i]) % mod;
        ^
0_0_17865124_2759\Main.java:47: 错误: 需要class, interface或enum
    }
    ^
0_0_17865124_2759\Main.java:50: 错误: 需要class, interface或enum
        else if (k % 2 == 0)
        ^
0_0_17865124_2759\Main.java:52: 错误: 需要class, interface或enum
        else
        ^
0_0_17865124_2759\Main.java:54: 错误: 需要class, interface或enum
        cout << ans << "\n";
        ^
0_0_17865124_2759\Main.java:55: 错误: 需要class, interface或enum
    }
    ^
35 个错误


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 05:24:44, Gzip enabled