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_32380231_11045\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_32380231_11045\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_32380231_11045\Main.java:2: 错误: 非法字符: '#'
#include <sstream>
^
0_0_32380231_11045\Main.java:3: 错误: 非法字符: '#'
#define max 22
^
0_0_32380231_11045\Main.java:8: 错误: 需要class, interface或enum
long fz[max];
^
0_0_32380231_11045\Main.java:9: 错误: 需要class, interface或enum
long fm[max];
^
0_0_32380231_11045\Main.java:11: 错误: 需要class, interface或enum
int ctn(long x);
^
0_0_32380231_11045\Main.java:12: 错误: 需要class, interface或enum
long gcd(long a,long b);
^
0_0_32380231_11045\Main.java:14: 错误: 需要class, interface或enum
int main()
^
0_0_32380231_11045\Main.java:17: 错误: 需要class, interface或enum
    fz[0] = 1;
    ^
0_0_32380231_11045\Main.java:18: 错误: 需要class, interface或enum
    fm[0] = 1;
    ^
0_0_32380231_11045\Main.java:19: 错误: 需要class, interface或enum
    for(int i = 1;i < max;i++)
    ^
0_0_32380231_11045\Main.java:19: 错误: 需要class, interface或enum
    for(int i = 1;i < max;i++)
                  ^
0_0_32380231_11045\Main.java:19: 错误: 需要class, interface或enum
    for(int i = 1;i < max;i++)
                          ^
0_0_32380231_11045\Main.java:23: 错误: 需要class, interface或enum
        fm[i] = fm[i-1] / t * (i+1);
        ^
0_0_32380231_11045\Main.java:25: 错误: 需要class, interface或enum
        fz[i] = (i+1) / t * fz[i-1]  + fm[i-1] /t;
        ^
0_0_32380231_11045\Main.java:27: 错误: 需要class, interface或enum
    }
    ^
0_0_32380231_11045\Main.java:33: 错误: 需要class, interface或enum
            continue; 
            ^
0_0_32380231_11045\Main.java:34: 错误: 需要class, interface或enum
        } 
        ^
0_0_32380231_11045\Main.java:38: 错误: 需要class, interface或enum
            continue; 
            ^
0_0_32380231_11045\Main.java:39: 错误: 需要class, interface或enum
        }
        ^
0_0_32380231_11045\Main.java:41: 错误: 需要class, interface或enum
        t = fm[n] / (n+1);
        ^
0_0_32380231_11045\Main.java:42: 错误: 需要class, interface或enum
        int ys = gcd(fz[n] % t,t);
        ^
0_0_32380231_11045\Main.java:44: 错误: 需要class, interface或enum
        if(n >= 4)
        ^
0_0_32380231_11045\Main.java:46: 错误: 需要class, interface或enum
        cout << "  " << fz[n] % t / ys << endl;
        ^
0_0_32380231_11045\Main.java:47: 错误: 需要class, interface或enum
        printf("%d ",fz[n] / t);
        ^
0_0_32380231_11045\Main.java:48: 错误: 需要class, interface或enum
        int mn = ctn(t/ys);
        ^
0_0_32380231_11045\Main.java:49: 错误: 需要class, interface或enum
        for(int i = 0;i < mn;i++)
        ^
0_0_32380231_11045\Main.java:49: 错误: 需要class, interface或enum
        for(int i = 0;i < mn;i++)
                      ^
0_0_32380231_11045\Main.java:49: 错误: 需要class, interface或enum
        for(int i = 0;i < mn;i++)
                             ^
0_0_32380231_11045\Main.java:51: 错误: 需要class, interface或enum
        putchar('\n');
        ^
0_0_32380231_11045\Main.java:52: 错误: 需要class, interface或enum
        if(n >= 4)
        ^
0_0_32380231_11045\Main.java:54: 错误: 需要class, interface或enum
        cout << "  " << t / ys << endl;
        ^
0_0_32380231_11045\Main.java:55: 错误: 需要class, interface或enum
    }
    ^
0_0_32380231_11045\Main.java:57: 错误: 需要class, interface或enum
}
^
0_0_32380231_11045\Main.java:62: 错误: 需要class, interface或enum
}
^
0_0_32380231_11045\Main.java:68: 错误: 需要class, interface或enum
    while(x / 10 != 0)
    ^
0_0_32380231_11045\Main.java:71: 错误: 需要class, interface或enum
        t++;
        ^
0_0_32380231_11045\Main.java:72: 错误: 需要class, interface或enum
    }
    ^
0_0_32380231_11045\Main.java:74: 错误: 需要class, interface或enum
}
^
40 个错误


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 04:23:50, Gzip enabled