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_33457644_2758\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_33457644_2758\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
        ^
0_0_33457644_2758\Main.java:3: 错误: 需要class, interface或enum
typedef long long ll;
^
0_0_33457644_2758\Main.java:5: 错误: 需要class, interface或enum
void extend_gcd(ll a, ll b, ll& x, ll& y){
^
0_0_33457644_2758\Main.java:8: 错误: 需要class, interface或enum
        y = 0;
        ^
0_0_33457644_2758\Main.java:9: 错误: 需要class, interface或enum
        return;
        ^
0_0_33457644_2758\Main.java:10: 错误: 需要class, interface或enum
    }
    ^
0_0_33457644_2758\Main.java:12: 错误: 需要class, interface或enum
    ll temp = x;
    ^
0_0_33457644_2758\Main.java:13: 错误: 需要class, interface或enum
    x = y;
    ^
0_0_33457644_2758\Main.java:14: 错误: 需要class, interface或enum
    y = temp - (a / b) * y;
    ^
0_0_33457644_2758\Main.java:15: 错误: 需要class, interface或enum
}
^
0_0_33457644_2758\Main.java:19: 错误: 需要class, interface或enum
    extend_gcd(a, m, x,y);
    ^
0_0_33457644_2758\Main.java:20: 错误: 需要class, interface或enum
    return ( m + x % m) % m;
    ^
0_0_33457644_2758\Main.java:21: 错误: 需要class, interface或enum
}
^
0_0_33457644_2758\Main.java:24: 错误: 需要class, interface或enum
ll primes[N] = {0};
^
0_0_33457644_2758\Main.java:25: 错误: 需要class, interface或enum
ll nums[N] = {0};
^
0_0_33457644_2758\Main.java:26: 错误: 需要class, interface或enum
int cnt = 0;
^
0_0_33457644_2758\Main.java:27: 错误: 需要class, interface或enum
const int M = 1e9+7;
^
0_0_33457644_2758\Main.java:28: 错误: 需要class, interface或enum
const int A = 1e6+5;
^
0_0_33457644_2758\Main.java:29: 错误: 需要class, interface或enum
ll ans[A] = {0};
^
0_0_33457644_2758\Main.java:31: 错误: 需要class, interface或enum
void make_table(const int t){
^
0_0_33457644_2758\Main.java:33: 错误: 需要class, interface或enum
    for (int i = 2; i<= sqrt(m) + 1; ++i){
    ^
0_0_33457644_2758\Main.java:33: 错误: 需要class, interface或enum
    for (int i = 2; i<= sqrt(m) + 1; ++i){
                    ^
0_0_33457644_2758\Main.java:33: 错误: 需要class, interface或enum
    for (int i = 2; i<= sqrt(m) + 1; ++i){
                                     ^
0_0_33457644_2758\Main.java:36: 错误: 需要class, interface或enum
            while( m % i == 0){
            ^
0_0_33457644_2758\Main.java:38: 错误: 需要class, interface或enum
            }
            ^
0_0_33457644_2758\Main.java:43: 错误: 需要class, interface或enum
    ans[0] = 1;
    ^
0_0_33457644_2758\Main.java:44: 错误: 需要class, interface或enum
}
^
0_0_33457644_2758\Main.java:50: 错误: 需要class, interface或enum
    }
    ^
0_0_33457644_2758\Main.java:52: 错误: 需要class, interface或enum
    memset(nums, 0, sizeof(nums));
    ^
0_0_33457644_2758\Main.java:53: 错误: 需要class, interface或enum
    for (int i = 1; i <= n; ++i){
    ^
0_0_33457644_2758\Main.java:53: 错误: 需要class, interface或enum
    for (int i = 1; i <= n; ++i){
                    ^
0_0_33457644_2758\Main.java:53: 错误: 需要class, interface或enum
    for (int i = 1; i <= n; ++i){
                            ^
0_0_33457644_2758\Main.java:56: 错误: 需要class, interface或enum
        for (int j = 0; j < cnt; ++j){
        ^
0_0_33457644_2758\Main.java:56: 错误: 需要class, interface或enum
        for (int j = 0; j < cnt; ++j){
                        ^
0_0_33457644_2758\Main.java:56: 错误: 需要class, interface或enum
        for (int j = 0; j < cnt; ++j){
                                 ^
0_0_33457644_2758\Main.java:59: 错误: 需要class, interface或enum
                ++nums[j];
                ^
0_0_33457644_2758\Main.java:60: 错误: 需要class, interface或enum
            }
            ^
0_0_33457644_2758\Main.java:63: 错误: 需要class, interface或enum
        pre %= m;
        ^
0_0_33457644_2758\Main.java:64: 错误: 需要class, interface或enum
        k = i + 1;
        ^
0_0_33457644_2758\Main.java:65: 错误: 需要class, interface或enum
        for (int j = 0; j < cnt; ++j){
        ^
0_0_33457644_2758\Main.java:65: 错误: 需要class, interface或enum
        for (int j = 0; j < cnt; ++j){
                        ^
0_0_33457644_2758\Main.java:65: 错误: 需要class, interface或enum
        for (int j = 0; j < cnt; ++j){
                                 ^
0_0_33457644_2758\Main.java:68: 错误: 需要class, interface或enum
                --nums[j];
                ^
0_0_33457644_2758\Main.java:69: 错误: 需要class, interface或enum
            }
            ^
0_0_33457644_2758\Main.java:73: 错误: 需要class, interface或enum
        pre *= k;
        ^
0_0_33457644_2758\Main.java:74: 错误: 需要class, interface或enum
        pre %= m;
        ^
0_0_33457644_2758\Main.java:75: 错误: 需要class, interface或enum
        ll cur = pre;
        ^
0_0_33457644_2758\Main.java:76: 错误: 需要class, interface或enum
        for (int j = 0; j < cnt; j++){
        ^
0_0_33457644_2758\Main.java:76: 错误: 需要class, interface或enum
        for (int j = 0; j < cnt; j++){
                        ^
0_0_33457644_2758\Main.java:76: 错误: 需要class, interface或enum
        for (int j = 0; j < cnt; j++){
                                 ^
0_0_33457644_2758\Main.java:77: 错误: 需要class, interface或enum
            for (int k = 0; k < nums[j]; k++){
                            ^
0_0_33457644_2758\Main.java:77: 错误: 需要class, interface或enum
            for (int k = 0; k < nums[j]; k++){
                                         ^
0_0_33457644_2758\Main.java:79: 错误: 需要class, interface或enum
            }
            ^
0_0_33457644_2758\Main.java:82: 错误: 需要class, interface或enum
    }
    ^
0_0_33457644_2758\Main.java:85: 错误: 需要class, interface或enum
}
^
0_0_33457644_2758\Main.java:89: 错误: 需要class, interface或enum
    int n;
    ^
0_0_33457644_2758\Main.java:90: 错误: 需要class, interface或enum
    string s;
    ^
0_0_33457644_2758\Main.java:91: 错误: 需要class, interface或enum
    while (!cin.eof() && (cin >> n >> s)){
    ^
0_0_33457644_2758\Main.java:93: 错误: 需要class, interface或enum
        for(auto e: s){
        ^
0_0_33457644_2758\Main.java:96: 错误: 需要class, interface或enum
            else
            ^
0_0_33457644_2758\Main.java:98: 错误: 需要class, interface或enum
        }
        ^
0_0_33457644_2758\Main.java:100: 错误: 需要class, interface或enum
    }
    ^
0_0_33457644_2758\Main.java:102: 错误: 需要class, interface或enum
}
^
64 个错误


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-17 02:54:24, Gzip enabled