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_36383670_9868\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_36383670_9868\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_36383670_9868\Main.java:2: 错误: 非法字符: '#'
#include <cstring>
^
0_0_36383670_9868\Main.java:3: 错误: 非法字符: '#'
#include <cmath>
^
0_0_36383670_9868\Main.java:4: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_36383670_9868\Main.java:5: 错误: 非法字符: '#'
#include <vector>
^
0_0_36383670_9868\Main.java:7: 错误: 需要class, interface或enum
typedef long long ll;
^
0_0_36383670_9868\Main.java:8: 错误: 需要class, interface或enum
int const maxn = 100005;
^
0_0_36383670_9868\Main.java:9: 错误: 需要class, interface或enum
bool composite[maxn];
^
0_0_36383670_9868\Main.java:11: 错误: 需要class, interface或enum
void myswap(int &x, int &y)
^
0_0_36383670_9868\Main.java:14: 错误: 需要class, interface或enum
    x = y;
    ^
0_0_36383670_9868\Main.java:15: 错误: 需要class, interface或enum
    y = tmp;
    ^
0_0_36383670_9868\Main.java:16: 错误: 需要class, interface或enum
}
^
0_0_36383670_9868\Main.java:20: 错误: 需要class, interface或enum
    for (int i = 2; i * i <= maxn; ++i)
                    ^
0_0_36383670_9868\Main.java:20: 错误: 需要class, interface或enum
    for (int i = 2; i * i <= maxn; ++i)
                                   ^
0_0_36383670_9868\Main.java:22: 错误: 需要class, interface或enum
            for (int j = i * i; j < maxn; j += i)
                                ^
0_0_36383670_9868\Main.java:22: 错误: 需要class, interface或enum
            for (int j = i * i; j < maxn; j += i)
                                          ^
0_0_36383670_9868\Main.java:24: 错误: 需要class, interface或enum
}
^
0_0_36383670_9868\Main.java:29: 错误: 需要class, interface或enum
    int t;
    ^
0_0_36383670_9868\Main.java:30: 错误: 需要class, interface或enum
    cin >> t;
    ^
0_0_36383670_9868\Main.java:31: 错误: 需要class, interface或enum
    int m, n;
    ^
0_0_36383670_9868\Main.java:32: 错误: 需要class, interface或enum
    while (t--)
    ^
0_0_36383670_9868\Main.java:35: 错误: 需要class, interface或enum
        if (m > n)
        ^
0_0_36383670_9868\Main.java:37: 错误: 需要class, interface或enum
        ll sum = n;
        ^
0_0_36383670_9868\Main.java:38: 错误: 需要class, interface或enum
        for (int i = 2; i <= m; ++i)
        ^
0_0_36383670_9868\Main.java:38: 错误: 需要class, interface或enum
        for (int i = 2; i <= m; ++i)
                        ^
0_0_36383670_9868\Main.java:38: 错误: 需要class, interface或enum
        for (int i = 2; i <= m; ++i)
                                ^
0_0_36383670_9868\Main.java:43: 错误: 需要class, interface或enum
                sum -= n / i;
                ^
0_0_36383670_9868\Main.java:44: 错误: 需要class, interface或enum
            }
            ^
0_0_36383670_9868\Main.java:48: 错误: 需要class, interface或enum
                int target = i;
                ^
0_0_36383670_9868\Main.java:49: 错误: 需要class, interface或enum
                for (int j = 2; j * j <= i; ++j)
                ^
0_0_36383670_9868\Main.java:49: 错误: 需要class, interface或enum
                for (int j = 2; j * j <= i; ++j)
                                ^
0_0_36383670_9868\Main.java:49: 错误: 需要class, interface或enum
                for (int j = 2; j * j <= i; ++j)
                                            ^
0_0_36383670_9868\Main.java:56: 错误: 需要class, interface或enum
                            while (target % j == 0)
                            ^
0_0_36383670_9868\Main.java:58: 错误: 需要class, interface或enum
                        }
                        ^
0_0_36383670_9868\Main.java:62: 错误: 需要class, interface或enum
                }
                ^
0_0_36383670_9868\Main.java:65: 错误: 需要class, interface或enum
                int partsum = 0;
                ^
0_0_36383670_9868\Main.java:66: 错误: 需要class, interface或enum
                int end = 1 << factor.size();
                ^
0_0_36383670_9868\Main.java:67: 错误: 需要class, interface或enum
                int sign;
                ^
0_0_36383670_9868\Main.java:68: 错误: 需要class, interface或enum
                for (int j = 0; j < end; ++j)
                ^
0_0_36383670_9868\Main.java:68: 错误: 需要class, interface或enum
                for (int j = 0; j < end; ++j)
                                ^
0_0_36383670_9868\Main.java:68: 错误: 需要class, interface或enum
                for (int j = 0; j < end; ++j)
                                         ^
0_0_36383670_9868\Main.java:71: 错误: 需要class, interface或enum
                    int onecount = 0;
                    ^
0_0_36383670_9868\Main.java:72: 错误: 需要class, interface或enum
                    for (int k = 0; k < factor.size(); ++k)
                    ^
0_0_36383670_9868\Main.java:72: 错误: 需要class, interface或enum
                    for (int k = 0; k < factor.size(); ++k)
                                    ^
0_0_36383670_9868\Main.java:72: 错误: 需要class, interface或enum
                    for (int k = 0; k < factor.size(); ++k)
                                                       ^
0_0_36383670_9868\Main.java:77: 错误: 需要class, interface或enum
                            fenmu *= factor[k];
                            ^
0_0_36383670_9868\Main.java:78: 错误: 需要class, interface或enum
                        }
                        ^
0_0_36383670_9868\Main.java:82: 错误: 需要class, interface或enum
                    else
                    ^
0_0_36383670_9868\Main.java:84: 错误: 需要class, interface或enum
                    partsum += sign * (n / fenmu);
                    ^
0_0_36383670_9868\Main.java:85: 错误: 需要class, interface或enum
                }
                ^
0_0_36383670_9868\Main.java:87: 错误: 需要class, interface或enum
            }
            ^
0_0_36383670_9868\Main.java:90: 错误: 需要class, interface或enum
    }
    ^
0_0_36383670_9868\Main.java:92: 错误: 需要class, interface或enum
}
^
54 个错误


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-18 01:33:56, Gzip enabled