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_18393994_13942\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_18393994_13942\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_18393994_13942\Main.java:2: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_18393994_13942\Main.java:3: 错误: 非法字符: '#'
#include <cstring>
^
0_0_18393994_13942\Main.java:4: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_18393994_13942\Main.java:5: 错误: 非法字符: '#'
#include <cmath>
^
0_0_18393994_13942\Main.java:6: 错误: 非法字符: '#'
#include <map>
^
0_0_18393994_13942\Main.java:7: 错误: 非法字符: '#'
#include <set>
^
0_0_18393994_13942\Main.java:8: 错误: 非法字符: '#'
#include <queue>
^
0_0_18393994_13942\Main.java:9: 错误: 非法字符: '#'
#include <stack>
^
0_0_18393994_13942\Main.java:10: 错误: 非法字符: '#'
#include <vector>
^
0_0_18393994_13942\Main.java:11: 错误: 非法字符: '#'
#include <bitset>
^
0_0_18393994_13942\Main.java:12: 错误: 非法字符: '#'
#include <stdlib.h>
^
0_0_18393994_13942\Main.java:13: 错误: 非法字符: '#'
#include <time.h>
^
0_0_18393994_13942\Main.java:14: 错误: 非法字符: '#'
#define F first
^
0_0_18393994_13942\Main.java:15: 错误: 非法字符: '#'
#define S second
^
0_0_18393994_13942\Main.java:16: 错误: 非法字符: '#'
#define mp make_pair
^
0_0_18393994_13942\Main.java:17: 错误: 非法字符: '#'
#define pb push_back
^
0_0_18393994_13942\Main.java:19: 错误: 需要class, interface或enum
typedef unsigned long long LL;
^
0_0_18393994_13942\Main.java:21: 错误: 需要class, interface或enum
const int S = 8;
^
0_0_18393994_13942\Main.java:22: 错误: 需要class, interface或enum
LL mult_mod(LL a,LL b,LL c)
^
0_0_18393994_13942\Main.java:25: 错误: 需要class, interface或enum
    b %= c;
    ^
0_0_18393994_13942\Main.java:26: 错误: 需要class, interface或enum
    LL ret = 0;
    ^
0_0_18393994_13942\Main.java:27: 错误: 需要class, interface或enum
    LL tmp = a;
    ^
0_0_18393994_13942\Main.java:29: 错误: 需要class, interface或enum
    while(b)
    ^
0_0_18393994_13942\Main.java:34: 错误: 需要class, interface或enum
            if(ret > c)ret -= c;
            ^
0_0_18393994_13942\Main.java:35: 错误: 需要class, interface或enum
        }
        ^
0_0_18393994_13942\Main.java:37: 错误: 需要class, interface或enum
        if(tmp > c)tmp -= c;
        ^
0_0_18393994_13942\Main.java:38: 错误: 需要class, interface或enum
        b >>= 1;
        ^
0_0_18393994_13942\Main.java:39: 错误: 需要class, interface或enum
    }
    ^
0_0_18393994_13942\Main.java:41: 错误: 需要class, interface或enum
}
^
0_0_18393994_13942\Main.java:46: 错误: 需要class, interface或enum
    LL temp = a%mod;
    ^
0_0_18393994_13942\Main.java:47: 错误: 需要class, interface或enum
    while(n)
    ^
0_0_18393994_13942\Main.java:50: 错误: 需要class, interface或enum
        temp = mult_mod(temp,temp,mod);
        ^
0_0_18393994_13942\Main.java:51: 错误: 需要class, interface或enum
        n >>= 1;
        ^
0_0_18393994_13942\Main.java:52: 错误: 需要class, interface或enum
    }
    ^
0_0_18393994_13942\Main.java:54: 错误: 需要class, interface或enum
}
^
0_0_18393994_13942\Main.java:59: 错误: 需要class, interface或enum
    LL last = ret;
    ^
0_0_18393994_13942\Main.java:60: 错误: 需要class, interface或enum
    for(int i = 1; i <= t; i++)
    ^
0_0_18393994_13942\Main.java:60: 错误: 需要class, interface或enum
    for(int i = 1; i <= t; i++)
                   ^
0_0_18393994_13942\Main.java:60: 错误: 需要class, interface或enum
    for(int i = 1; i <= t; i++)
                           ^
0_0_18393994_13942\Main.java:63: 错误: 需要class, interface或enum
        if(ret == 1 && last != 1 && last != n-1)return true;
        ^
0_0_18393994_13942\Main.java:64: 错误: 需要class, interface或enum
        last = ret;
        ^
0_0_18393994_13942\Main.java:65: 错误: 需要class, interface或enum
    }
    ^
0_0_18393994_13942\Main.java:67: 错误: 需要class, interface或enum
    else return false;
    ^
0_0_18393994_13942\Main.java:68: 错误: 需要class, interface或enum
}
^
0_0_18393994_13942\Main.java:72: 错误: 需要class, interface或enum
    if( n == 2)return true;
    ^
0_0_18393994_13942\Main.java:73: 错误: 需要class, interface或enum
    if( (n&1) == 0)return false;
    ^
0_0_18393994_13942\Main.java:74: 错误: 需要class, interface或enum
    LL x = n - 1;
    ^
0_0_18393994_13942\Main.java:75: 错误: 需要class, interface或enum
    LL t = 0;
    ^
0_0_18393994_13942\Main.java:76: 错误: 需要class, interface或enum
    while( (x&1)==0 )
    ^
0_0_18393994_13942\Main.java:79: 错误: 需要class, interface或enum
        t++;
        ^
0_0_18393994_13942\Main.java:80: 错误: 需要class, interface或enum
    }
    ^
0_0_18393994_13942\Main.java:82: 错误: 需要class, interface或enum
    for(int i = 0; i < S; i++)
    ^
0_0_18393994_13942\Main.java:82: 错误: 需要class, interface或enum
    for(int i = 0; i < S; i++)
                   ^
0_0_18393994_13942\Main.java:82: 错误: 需要class, interface或enum
    for(int i = 0; i < S; i++)
                          ^
0_0_18393994_13942\Main.java:85: 错误: 需要class, interface或enum
        if( check(a,n,x,t) )
        ^
0_0_18393994_13942\Main.java:87: 错误: 需要class, interface或enum
    }
    ^
0_0_18393994_13942\Main.java:89: 错误: 需要class, interface或enum
}
^
0_0_18393994_13942\Main.java:92: 错误: 需要class, interface或enum
int tol;
^
0_0_18393994_13942\Main.java:93: 错误: 需要class, interface或enum
LL gcd(LL a,LL b)
^
0_0_18393994_13942\Main.java:96: 错误: 需要class, interface或enum
    while(b)
    ^
0_0_18393994_13942\Main.java:99: 错误: 需要class, interface或enum
        a = b;
        ^
0_0_18393994_13942\Main.java:100: 错误: 需要class, interface或enum
        b = t%b;
        ^
0_0_18393994_13942\Main.java:101: 错误: 需要class, interface或enum
    }
    ^
0_0_18393994_13942\Main.java:103: 错误: 需要class, interface或enum
    else return -a;
    ^
0_0_18393994_13942\Main.java:104: 错误: 需要class, interface或enum
}
^
0_0_18393994_13942\Main.java:109: 错误: 需要class, interface或enum
    srand(time(NULL));
    ^
0_0_18393994_13942\Main.java:110: 错误: 需要class, interface或enum
    LL x0 = rand()%(x-1) + 1;
    ^
0_0_18393994_13942\Main.java:111: 错误: 需要class, interface或enum
    LL y = x0;
    ^
0_0_18393994_13942\Main.java:112: 错误: 需要class, interface或enum
    while(1)
    ^
0_0_18393994_13942\Main.java:115: 错误: 需要class, interface或enum
        x0 = (mult_mod(x0,x0,x) + c)%x;
        ^
0_0_18393994_13942\Main.java:116: 错误: 需要class, interface或enum
        LL d = gcd(y - x0,x);
        ^
0_0_18393994_13942\Main.java:117: 错误: 需要class, interface或enum
        if( d != 1 && d != x)return d;
        ^
0_0_18393994_13942\Main.java:118: 错误: 需要class, interface或enum
        if(y == x0)return x;
        ^
0_0_18393994_13942\Main.java:119: 错误: 需要class, interface或enum
        if(i == k)
        ^
0_0_18393994_13942\Main.java:122: 错误: 需要class, interface或enum
            k += k;
            ^
0_0_18393994_13942\Main.java:123: 错误: 需要class, interface或enum
        }
        ^
0_0_18393994_13942\Main.java:129: 错误: 需要class, interface或enum
    if(Miller_Rabin(n))
    ^
0_0_18393994_13942\Main.java:132: 错误: 需要class, interface或enum
        return;
        ^
0_0_18393994_13942\Main.java:133: 错误: 需要class, interface或enum
    }
    ^
0_0_18393994_13942\Main.java:135: 错误: 需要class, interface或enum
    int c = k;
    ^
0_0_18393994_13942\Main.java:136: 错误: 需要class, interface或enum
    while( p >= n)
    ^
0_0_18393994_13942\Main.java:138: 错误: 需要class, interface或enum
    findfac(p,k);
    ^
0_0_18393994_13942\Main.java:139: 错误: 需要class, interface或enum
    findfac(n/p,k);
    ^
0_0_18393994_13942\Main.java:140: 错误: 需要class, interface或enum
}
^
0_0_18393994_13942\Main.java:142: 错误: 需要class, interface或enum
int num;
^
0_0_18393994_13942\Main.java:143: 错误: 需要class, interface或enum
int main()
^
0_0_18393994_13942\Main.java:146: 错误: 需要class, interface或enum
    scanf("%d",&T);
    ^
0_0_18393994_13942\Main.java:147: 错误: 需要class, interface或enum
    while(T--)
    ^
0_0_18393994_13942\Main.java:150: 错误: 需要class, interface或enum
        scanf("%llu",&a);
        ^
0_0_18393994_13942\Main.java:151: 错误: 需要class, interface或enum
        tol=0;
        ^
0_0_18393994_13942\Main.java:152: 错误: 需要class, interface或enum
        findfac(a,120);
        ^
0_0_18393994_13942\Main.java:153: 错误: 需要class, interface或enum
        num=0;
        ^
0_0_18393994_13942\Main.java:154: 错误: 需要class, interface或enum
        tep[num]=factor[0];
        ^
0_0_18393994_13942\Main.java:155: 错误: 需要class, interface或enum
        sort(factor,factor+tol);
        ^
0_0_18393994_13942\Main.java:156: 错误: 需要class, interface或enum
        for(int i=1; i<tol; i++)
        ^
0_0_18393994_13942\Main.java:156: 错误: 需要class, interface或enum
        for(int i=1; i<tol; i++)
                     ^
0_0_18393994_13942\Main.java:156: 错误: 需要class, interface或enum
        for(int i=1; i<tol; i++)
                            ^
0_0_18393994_13942\Main.java:160: 错误: 需要class, interface或enum
            else tep[++num]=factor[i];
            ^
100 个错误


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-12-02 11:54:08, Gzip enabled