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_18512088_5962\Main.java:5: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_18512088_5962\Main.java:5: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
        ^
0_0_18512088_5962\Main.java:7: 错误: 需要class, interface或enum
map<int64_t,int64_t>mem;
^
0_0_18512088_5962\Main.java:8: 错误: 需要class, interface或enum
int num[61],n;
^
0_0_18512088_5962\Main.java:9: 错误: 需要class, interface或enum
bool coprime[61][61];
^
0_0_18512088_5962\Main.java:10: 错误: 需要class, interface或enum
int64_t dp(int64_t state) {
^
0_0_18512088_5962\Main.java:12: 错误: 需要class, interface或enum
 if (__builtin_popcount(state)<2)return 1;
 ^
0_0_18512088_5962\Main.java:13: 错误: 需要class, interface或enum
 if (mem.count(state))return mem[state];
 ^
0_0_18512088_5962\Main.java:14: 错误: 需要class, interface或enum
 int i;
 ^
0_0_18512088_5962\Main.java:15: 错误: 需要class, interface或enum
 for (i=n-1;;--i)if (state>>i&1)break;
 ^
0_0_18512088_5962\Main.java:15: 错误: 需要class, interface或enum
 for (i=n-1;;--i)if (state>>i&1)break;
             ^
0_0_18512088_5962\Main.java:16: 错误: 需要class, interface或enum
 state^=1ll<<i;
 ^
0_0_18512088_5962\Main.java:17: 错误: 需要class, interface或enum
 int64_t rt=dp(state);
 ^
0_0_18512088_5962\Main.java:18: 错误: 需要class, interface或enum
 for(int j=0;j<i;++j)if (state>>j&1&&!coprime[i][j])state^=1ll<<j;
 ^
0_0_18512088_5962\Main.java:18: 错误: 需要class, interface或enum
 for(int j=0;j<i;++j)if (state>>j&1&&!coprime[i][j])state^=1ll<<j;
             ^
0_0_18512088_5962\Main.java:18: 错误: 需要class, interface或enum
 for(int j=0;j<i;++j)if (state>>j&1&&!coprime[i][j])state^=1ll<<j;
                 ^
0_0_18512088_5962\Main.java:19: 错误: 需要class, interface或enum
 rt+=dp(state);
 ^
0_0_18512088_5962\Main.java:20: 错误: 需要class, interface或enum
 return mem[state]=rt;
 ^
0_0_18512088_5962\Main.java:21: 错误: 需要class, interface或enum
}
^
0_0_18512088_5962\Main.java:24: 错误: 需要class, interface或enum
  for(int i=0;i<n;++i)scanf("%d",num+i);
              ^
0_0_18512088_5962\Main.java:24: 错误: 需要class, interface或enum
  for(int i=0;i<n;++i)scanf("%d",num+i);
                  ^
0_0_18512088_5962\Main.java:25: 错误: 需要class, interface或enum
  mem.clear();
  ^
0_0_18512088_5962\Main.java:26: 错误: 需要class, interface或enum
  for(int i=0;i<n;++i)for(int j=0;j<i;++j)coprime[i][j]=coprime[j][i]=__gcd(num[i],num[j])==1;
  ^
0_0_18512088_5962\Main.java:26: 错误: 需要class, interface或enum
  for(int i=0;i<n;++i)for(int j=0;j<i;++j)coprime[i][j]=coprime[j][i]=__gcd(num[i],num[j])==1;
              ^
0_0_18512088_5962\Main.java:26: 错误: 需要class, interface或enum
  for(int i=0;i<n;++i)for(int j=0;j<i;++j)coprime[i][j]=coprime[j][i]=__gcd(num[i],num[j])==1;
                  ^
0_0_18512088_5962\Main.java:26: 错误: 需要class, interface或enum
  for(int i=0;i<n;++i)for(int j=0;j<i;++j)coprime[i][j]=coprime[j][i]=__gcd(num[i],num[j])==1;
                                  ^
0_0_18512088_5962\Main.java:26: 错误: 需要class, interface或enum
  for(int i=0;i<n;++i)for(int j=0;j<i;++j)coprime[i][j]=coprime[j][i]=__gcd(num[i],num[j])==1;
                                      ^
0_0_18512088_5962\Main.java:27: 错误: 需要class, interface或enum
  printf("%lld\n",dp((1<<n)-1)+1);
  ^
0_0_18512088_5962\Main.java:28: 错误: 需要class, interface或enum
 }
 ^
29 个错误


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-29 18:33:45, Gzip enabled