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_14732665_7335\Main.java:1: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_14732665_7335\Main.java:1: 错误: 需要class, interface或enum
#include <stdio.h>
         ^
0_0_14732665_7335\Main.java:2: 错误: 非法字符: '#'
#include <string>
^
0_0_14732665_7335\Main.java:3: 错误: 非法字符: '#'
#include <cstring>
^
0_0_14732665_7335\Main.java:4: 错误: 非法字符: '#'
#include <iostream>
^
0_0_14732665_7335\Main.java:5: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_14732665_7335\Main.java:6: 错误: 非法字符: '#'
#include<set>
^
0_0_14732665_7335\Main.java:7: 错误: 非法字符: '#'
#define fuck cout<<23333<<endl;
^
0_0_14732665_7335\Main.java:8: 错误: 需要class, interface或enum
using namespace std;
^
0_0_14732665_7335\Main.java:9: 错误: 需要class, interface或enum
int a[1000];//保存素因子
^
0_0_14732665_7335\Main.java:10: 错误: 需要class, interface或enum
int b[1000];//保存素因子的个数
^
0_0_14732665_7335\Main.java:11: 错误: 需要class, interface或enum
int cnt;
^
0_0_14732665_7335\Main.java:12: 错误: 需要class, interface或enum
const int maxn=10000000;
^
0_0_14732665_7335\Main.java:13: 错误: 需要class, interface或enum
bool is_prime[maxn];
^
0_0_14732665_7335\Main.java:14: 错误: 需要class, interface或enum
int prime[1000000];
^
0_0_14732665_7335\Main.java:15: 错误: 需要class, interface或enum
void getpirme()
^
0_0_14732665_7335\Main.java:19: 错误: 需要class, interface或enum
      memset(is_prime,0,sizeof is_prime);
      ^
0_0_14732665_7335\Main.java:20: 错误: 需要class, interface或enum
    for(int i=2;i<=maxn;i++)
    ^
0_0_14732665_7335\Main.java:20: 错误: 需要class, interface或enum
    for(int i=2;i<=maxn;i++)
                ^
0_0_14732665_7335\Main.java:20: 错误: 需要class, interface或enum
    for(int i=2;i<=maxn;i++)
                        ^
0_0_14732665_7335\Main.java:23: 错误: 需要class, interface或enum
            for(int j=i*2;j<=maxn;j+=i)
                          ^
0_0_14732665_7335\Main.java:23: 错误: 需要class, interface或enum
            for(int j=i*2;j<=maxn;j+=i)
                                  ^
0_0_14732665_7335\Main.java:25: 错误: 需要class, interface或enum
            prime[tot++]=i;
            ^
0_0_14732665_7335\Main.java:27: 错误: 需要class, interface或enum
        }
        ^
0_0_14732665_7335\Main.java:31: 错误: 需要class, interface或enum
void sbreak(long long n){//进行素因子分解
^
0_0_14732665_7335\Main.java:32: 错误: 需要class, interface或enum
    for(int i=0;prime[i]<=n;i++){
                ^
0_0_14732665_7335\Main.java:32: 错误: 需要class, interface或enum
    for(int i=0;prime[i]<=n;i++){
                            ^
0_0_14732665_7335\Main.java:37: 错误: 需要class, interface或enum
               n/=prime[i];
               ^
0_0_14732665_7335\Main.java:39: 错误: 需要class, interface或enum
            }
            ^
0_0_14732665_7335\Main.java:48: 错误: 需要class, interface或enum
    scanf("%d",&t);
    ^
0_0_14732665_7335\Main.java:49: 错误: 需要class, interface或enum
    getpirme();
    ^
0_0_14732665_7335\Main.java:50: 错误: 需要class, interface或enum
    prime[0]=2;
    ^
0_0_14732665_7335\Main.java:53: 错误: 需要class, interface或enum
    while(t--)
    ^
0_0_14732665_7335\Main.java:56: 错误: 需要class, interface或enum
        scanf("%d",&n);
        ^
0_0_14732665_7335\Main.java:57: 错误: 需要class, interface或enum
       se.clear();
       ^
0_0_14732665_7335\Main.java:58: 错误: 需要class, interface或enum
        cnt=0;
        ^
0_0_14732665_7335\Main.java:60: 错误: 需要class, interface或enum
        for(int i=0;i<n;i++)
        ^
0_0_14732665_7335\Main.java:60: 错误: 需要class, interface或enum
        for(int i=0;i<n;i++)
                    ^
0_0_14732665_7335\Main.java:60: 错误: 需要class, interface或enum
        for(int i=0;i<n;i++)
                        ^
0_0_14732665_7335\Main.java:63: 错误: 需要class, interface或enum
            scanf("%d",&temp);
            ^
0_0_14732665_7335\Main.java:65: 错误: 需要class, interface或enum
             sbreak(temp);
             ^
0_0_14732665_7335\Main.java:66: 错误: 需要class, interface或enum
        }
        ^
0_0_14732665_7335\Main.java:68: 错误: 需要class, interface或enum
       it=se.begin();
       ^
0_0_14732665_7335\Main.java:71: 错误: 需要class, interface或enum
       int a= *it;
       ^
0_0_14732665_7335\Main.java:72: 错误: 需要class, interface或enum
       it++;
       ^
0_0_14732665_7335\Main.java:73: 错误: 需要class, interface或enum
       int b=*it;
       ^
0_0_14732665_7335\Main.java:74: 错误: 需要class, interface或enum
       cout<<a*b<<endl;
       ^
0_0_14732665_7335\Main.java:76: 错误: 需要class, interface或enum
    }
    ^
0_0_14732665_7335\Main.java:80: 错误: 需要class, interface或enum
}
^
49 个错误


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:53:08, Gzip enabled