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_6419754_2492\Main.java:1: illegal character: \35
#include<iostream>
^
0_0_6419754_2492\Main.java:2: illegal character: \35
#include<cmath>
^
0_0_6419754_2492\Main.java:5: illegal character: \35
#define ll unsigned long long
^
0_0_6419754_2492\Main.java:7: class, interface, or enum expected
int phi[N];
^
0_0_6419754_2492\Main.java:8: class, interface, or enum expected
int b,p;ll m;
^
0_0_6419754_2492\Main.java:8: class, interface, or enum expected
int b,p;ll m;
        ^
0_0_6419754_2492\Main.java:10: class, interface, or enum expected
inline void phi_sieve(int bound)
^
0_0_6419754_2492\Main.java:13: class, interface, or enum expected
    phi[1]=1;
    ^
0_0_6419754_2492\Main.java:14: class, interface, or enum expected
    for(int i=2;i<=bound;i++)
    ^
0_0_6419754_2492\Main.java:14: class, interface, or enum expected
    for(int i=2;i<=bound;i++)
                ^
0_0_6419754_2492\Main.java:14: class, interface, or enum expected
    for(int i=2;i<=bound;i++)
                         ^
0_0_6419754_2492\Main.java:17: class, interface, or enum expected
            for(int j=i;j<=bound;j+=i)
                        ^
0_0_6419754_2492\Main.java:17: class, interface, or enum expected
            for(int j=i;j<=bound;j+=i)
                                 ^
0_0_6419754_2492\Main.java:20: class, interface, or enum expected
                phi[j]=phi[j]/i*(i-1);
                ^
0_0_6419754_2492\Main.java:21: class, interface, or enum expected
            }
            ^
0_0_6419754_2492\Main.java:27: class, interface, or enum expected
    while (b)
    ^
0_0_6419754_2492\Main.java:30: class, interface, or enum expected
        a=(ll)a*a%mod;
        ^
0_0_6419754_2492\Main.java:31: class, interface, or enum expected
        b>>=1;
        ^
0_0_6419754_2492\Main.java:32: class, interface, or enum expected
    }
    ^
0_0_6419754_2492\Main.java:34: class, interface, or enum expected
}
^
0_0_6419754_2492\Main.java:39: class, interface, or enum expected
    int t;cin>>t;int cas=1;
    ^
0_0_6419754_2492\Main.java:39: class, interface, or enum expected
    int t;cin>>t;int cas=1;
          ^
0_0_6419754_2492\Main.java:39: class, interface, or enum expected
    int t;cin>>t;int cas=1;
                 ^
0_0_6419754_2492\Main.java:40: class, interface, or enum expected
    while (t--)
    ^
0_0_6419754_2492\Main.java:43: class, interface, or enum expected
        scanf("%d%d%I64u",&b,&p,&m);
        ^
0_0_6419754_2492\Main.java:44: class, interface, or enum expected
        ll ans=0;
        ^
0_0_6419754_2492\Main.java:45: class, interface, or enum expected
        int spos=1<<30,add=0,tp=1;
        ^
0_0_6419754_2492\Main.java:46: class, interface, or enum expected
        for (int i=0;i<=p;i++)
        ^
0_0_6419754_2492\Main.java:46: class, interface, or enum expected
        for (int i=0;i<=p;i++)
                     ^
0_0_6419754_2492\Main.java:46: class, interface, or enum expected
        for (int i=0;i<=p;i++)
                          ^
0_0_6419754_2492\Main.java:49: class, interface, or enum expected
            if (tp>=phi[p]) add=phi[p];
            ^
0_0_6419754_2492\Main.java:50: class, interface, or enum expected
            tp%=phi[p];
            ^
0_0_6419754_2492\Main.java:51: class, interface, or enum expected
            if (tp==0)
            ^
0_0_6419754_2492\Main.java:53: class, interface, or enum expected
                spos=i;break;
                       ^
0_0_6419754_2492\Main.java:54: class, interface, or enum expected
            }
            ^
0_0_6419754_2492\Main.java:56: class, interface, or enum expected
        }
        ^
0_0_6419754_2492\Main.java:57: class, interface, or enum expected
        for (int i=0;i<p&&i<=m;i++)
                     ^
0_0_6419754_2492\Main.java:57: class, interface, or enum expected
        for (int i=0;i<p&&i<=m;i++)
                               ^
0_0_6419754_2492\Main.java:61: class, interface, or enum expected
                if (spos>=i+1)
                ^
0_0_6419754_2492\Main.java:63: class, interface, or enum expected
            }
            ^
0_0_6419754_2492\Main.java:66: class, interface, or enum expected
        else printf("%I64u\n",ans);
        ^
0_0_6419754_2492\Main.java:68: class, interface, or enum expected
    }
    ^
42 errors


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-25 13:49:22, Gzip enabled