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_6673968_2139\Main.java:1: illegal character: \35
#include<cstdio>
^
0_0_6673968_2139\Main.java:2: illegal character: \35
#define ll __int64
^
0_0_6673968_2139\Main.java:6: class, interface, or enum expected
    while(x--)r*=3;
    ^
0_0_6673968_2139\Main.java:7: class, interface, or enum expected
    return r;
    ^
0_0_6673968_2139\Main.java:8: class, interface, or enum expected
}
^
0_0_6673968_2139\Main.java:9: class, interface, or enum expected
int gcd(int i,int j){return j?gcd(j,i%j):i;}
                                           ^
0_0_6673968_2139\Main.java:13: class, interface, or enum expected
    while(scanf("%d",&n)+n)
    ^
0_0_6673968_2139\Main.java:16: class, interface, or enum expected
        for(int i=1;i<=n;i++)ans+=pow(gcd(i,n));
        ^
0_0_6673968_2139\Main.java:16: class, interface, or enum expected
        for(int i=1;i<=n;i++)ans+=pow(gcd(i,n));
                    ^
0_0_6673968_2139\Main.java:16: class, interface, or enum expected
        for(int i=1;i<=n;i++)ans+=pow(gcd(i,n));
                         ^
0_0_6673968_2139\Main.java:17: class, interface, or enum expected
        if(n&1)ans+=n*pow(n/2+1);
        ^
0_0_6673968_2139\Main.java:18: class, interface, or enum expected
        else ans+=n/2*(pow(n/2)+pow(n/2+1));
        ^
0_0_6673968_2139\Main.java:19: class, interface, or enum expected
        if(n)ans/=n*2;
        ^
0_0_6673968_2139\Main.java:20: class, interface, or enum expected
        printf("%I64d\n",ans);
        ^
0_0_6673968_2139\Main.java:21: class, interface, or enum expected
    }
    ^
15 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-12-01 17:09:34, Gzip enabled