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_39788700_11136\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_39788700_11136\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
        ^
0_0_39788700_11136\Main.java:2: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_39788700_11136\Main.java:3: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_39788700_11136\Main.java:4: 错误: 非法字符: '#'
#include<string>
^
0_0_39788700_11136\Main.java:5: 错误: 非法字符: '#'
#include<cstring>
^
0_0_39788700_11136\Main.java:6: 错误: 非法字符: '#'
#include<vector>
^
0_0_39788700_11136\Main.java:7: 错误: 非法字符: '#'
#include<queue>
^
0_0_39788700_11136\Main.java:8: 错误: 非法字符: '#'
#include<set>
^
0_0_39788700_11136\Main.java:9: 错误: 非法字符: '#'
#include<map>
^
0_0_39788700_11136\Main.java:10: 错误: 非法字符: '#'
#include<fstream>
^
0_0_39788700_11136\Main.java:11: 错误: 非法字符: '#'
#define inf 0x3f3f3f3f
^
0_0_39788700_11136\Main.java:12: 错误: 非法字符: '#'
#define ll long long
^
0_0_39788700_11136\Main.java:13: 错误: 非法字符: '#'
#define ull unsigned long long
^
0_0_39788700_11136\Main.java:14: 错误: 非法字符: '#'
#define endl '\n'
^
0_0_39788700_11136\Main.java:15: 错误: 非法字符: '#'
#define debug(x) printf("x--->%lld\n",x)
^
0_0_39788700_11136\Main.java:18: 错误: 需要class, interface或enum
typedef pair<int,int> PII;
^
0_0_39788700_11136\Main.java:19: 错误: 需要class, interface或enum
const int N =10 + 1e5, mod = 1e9 + 7;
^
0_0_39788700_11136\Main.java:20: 错误: 需要class, interface或enum
int n,m;
^
0_0_39788700_11136\Main.java:21: 错误: 需要class, interface或enum
bool dp[110][N];
^
0_0_39788700_11136\Main.java:22: 错误: 需要class, interface或enum
int a[110],b[1000];// amax = 1e5 bmax = 1000
^
0_0_39788700_11136\Main.java:23: 错误: 需要class, interface或enum
void solve()
^
0_0_39788700_11136\Main.java:25: 错误: 需要class, interface或enum
    for(int i=1;i<=n;i++)cin>>a[i];
                ^
0_0_39788700_11136\Main.java:25: 错误: 需要class, interface或enum
    for(int i=1;i<=n;i++)cin>>a[i];
                     ^
0_0_39788700_11136\Main.java:26: 错误: 需要class, interface或enum
    for(int i=1;i<=n;i++)cin>>b[i];
    ^
0_0_39788700_11136\Main.java:26: 错误: 需要class, interface或enum
    for(int i=1;i<=n;i++)cin>>b[i];
                ^
0_0_39788700_11136\Main.java:26: 错误: 需要class, interface或enum
    for(int i=1;i<=n;i++)cin>>b[i];
                     ^
0_0_39788700_11136\Main.java:27: 错误: 需要class, interface或enum
    memset(dp,0,sizeof dp);
    ^
0_0_39788700_11136\Main.java:28: 错误: 需要class, interface或enum
    dp[0][0] = 1;
    ^
0_0_39788700_11136\Main.java:29: 错误: 需要class, interface或enum
    for(int i=1;i<=n;i++)
    ^
0_0_39788700_11136\Main.java:29: 错误: 需要class, interface或enum
    for(int i=1;i<=n;i++)
                ^
0_0_39788700_11136\Main.java:29: 错误: 需要class, interface或enum
    for(int i=1;i<=n;i++)
                     ^
0_0_39788700_11136\Main.java:30: 错误: 需要class, interface或enum
        for(int j=0; j<=m;j++)
                     ^
0_0_39788700_11136\Main.java:30: 错误: 需要class, interface或enum
        for(int j=0; j<=m;j++)
                          ^
0_0_39788700_11136\Main.java:33: 错误: 需要class, interface或enum
            dp[i][j] = dp[i-1][j];//已经在之前凑出
            ^
0_0_39788700_11136\Main.java:34: 错误: 需要class, interface或enum
            if(dp[i][j])continue;
            ^
0_0_39788700_11136\Main.java:35: 错误: 需要class, interface或enum
            for(int k=0;k<=b[i] && j-v*k>=0;k++)// 查找要几枚才可能凑出j
            ^
0_0_39788700_11136\Main.java:35: 错误: 需要class, interface或enum
            for(int k=0;k<=b[i] && j-v*k>=0;k++)// 查找要几枚才可能凑出j
                        ^
0_0_39788700_11136\Main.java:35: 错误: 需要class, interface或enum
            for(int k=0;k<=b[i] && j-v*k>=0;k++)// 查找要几枚才可能凑出j
                                            ^
0_0_39788700_11136\Main.java:39: 错误: 需要class, interface或enum
                    break;
                    ^
0_0_39788700_11136\Main.java:40: 错误: 需要class, interface或enum
                } 
                ^
0_0_39788700_11136\Main.java:43: 错误: 需要class, interface或enum
    for(int j=1;j<=m;j++)ans+= (dp[n][j]!=0);
    ^
0_0_39788700_11136\Main.java:43: 错误: 需要class, interface或enum
    for(int j=1;j<=m;j++)ans+= (dp[n][j]!=0);
                ^
0_0_39788700_11136\Main.java:43: 错误: 需要class, interface或enum
    for(int j=1;j<=m;j++)ans+= (dp[n][j]!=0);
                     ^
0_0_39788700_11136\Main.java:44: 错误: 需要class, interface或enum
    cout << ans << endl;
    ^
0_0_39788700_11136\Main.java:45: 错误: 需要class, interface或enum
}
^
0_0_39788700_11136\Main.java:48: 错误: 需要class, interface或enum
    ios::sync_with_stdio();cin.tie();cout.tie();
                           ^
0_0_39788700_11136\Main.java:48: 错误: 需要class, interface或enum
    ios::sync_with_stdio();cin.tie();cout.tie();
                                     ^
0_0_39788700_11136\Main.java:49: 错误: 需要class, interface或enum
    while(cin>>n>>m,(n||m))
    ^
0_0_39788700_11136\Main.java:52: 错误: 需要class, interface或enum
    return 0;
    ^
0_0_39788700_11136\Main.java:53: 错误: 需要class, interface或enum
}
^
51 个错误


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-01-11 04:13:40, Gzip enabled