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_16241020_10977\Main.java:1: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_16241020_10977\Main.java:1: 错误: 需要class, interface或enum
#include <stdio.h>
         ^
0_0_16241020_10977\Main.java:2: 错误: 非法字符: '#'
    #include <string.h>
    ^
0_0_16241020_10977\Main.java:3: 错误: 非法字符: '#'
    #include <stdlib.h>
    ^
0_0_16241020_10977\Main.java:4: 错误: 非法字符: '#'
    #include <algorithm>
    ^
0_0_16241020_10977\Main.java:6: 错误: 需要class, interface或enum
    int fn;
    ^
0_0_16241020_10977\Main.java:7: 错误: 需要class, interface或enum
    int hash[105][105],dp[30][2005],x,y,MAX,n[30],sum;
    ^
0_0_16241020_10977\Main.java:8: 错误: 需要class, interface或enum
    int wtf[2005];
    ^
0_0_16241020_10977\Main.java:9: 错误: 需要class, interface或enum
    int cmp(int x,int y)
    ^
0_0_16241020_10977\Main.java:12: 错误: 需要class, interface或enum
    }
    ^
0_0_16241020_10977\Main.java:17: 错误: 需要class, interface或enum
        memset(dp,0,sizeof(dp));
        ^
0_0_16241020_10977\Main.java:18: 错误: 需要class, interface或enum
        dp[0][0] = 1;
        ^
0_0_16241020_10977\Main.java:19: 错误: 需要class, interface或enum
        int ans = 0;
        ^
0_0_16241020_10977\Main.java:20: 错误: 需要class, interface或enum
        for(i = 1; i<=fn; i++)
        ^
0_0_16241020_10977\Main.java:20: 错误: 需要class, interface或enum
        for(i = 1; i<=fn; i++)
                   ^
0_0_16241020_10977\Main.java:20: 错误: 需要class, interface或enum
        for(i = 1; i<=fn; i++)
                          ^
0_0_16241020_10977\Main.java:23: 错误: 需要class, interface或enum
            memcpy(dp[i],dp[i-1],sizeof(dp[0]));
            ^
0_0_16241020_10977\Main.java:24: 错误: 需要class, interface或enum
            for(j = sum; j>0; j--)
            ^
0_0_16241020_10977\Main.java:24: 错误: 需要class, interface或enum
            for(j = sum; j>0; j--)
                         ^
0_0_16241020_10977\Main.java:24: 错误: 需要class, interface或enum
            for(j = sum; j>0; j--)
                              ^
0_0_16241020_10977\Main.java:30: 错误: 需要class, interface或enum
                    if(dp[i-1][j])//差j-w
                    ^
0_0_16241020_10977\Main.java:32: 错误: 需要class, interface或enum
                }
                ^
0_0_16241020_10977\Main.java:38: 错误: 需要class, interface或enum
                        dp[i][w-j]=1;
                        ^
0_0_16241020_10977\Main.java:39: 错误: 需要class, interface或enum
                    }
                    ^
0_0_16241020_10977\Main.java:43: 错误: 需要class, interface或enum
        for(i = 1; i<=sum; i++)
                   ^
0_0_16241020_10977\Main.java:43: 错误: 需要class, interface或enum
        for(i = 1; i<=sum; i++)
                           ^
0_0_16241020_10977\Main.java:48: 错误: 需要class, interface或enum
                ans++;
                ^
0_0_16241020_10977\Main.java:49: 错误: 需要class, interface或enum
            }
            ^
0_0_16241020_10977\Main.java:53: 错误: 需要class, interface或enum
    }
    ^
0_0_16241020_10977\Main.java:58: 错误: 需要class, interface或enum
        scanf("%d",&t);
        ^
0_0_16241020_10977\Main.java:59: 错误: 需要class, interface或enum
        while(t--)
        ^
0_0_16241020_10977\Main.java:62: 错误: 需要class, interface或enum
            int i,j;
            ^
0_0_16241020_10977\Main.java:63: 错误: 需要class, interface或enum
            sum=0;
            ^
0_0_16241020_10977\Main.java:64: 错误: 需要class, interface或enum
            scanf("%d",&fn);
            ^
0_0_16241020_10977\Main.java:65: 错误: 需要class, interface或enum
            for(i=1;i<=fn;i++)
            ^
0_0_16241020_10977\Main.java:65: 错误: 需要class, interface或enum
            for(i=1;i<=fn;i++)
                    ^
0_0_16241020_10977\Main.java:65: 错误: 需要class, interface或enum
            for(i=1;i<=fn;i++)
                          ^
0_0_16241020_10977\Main.java:68: 错误: 需要class, interface或enum
            sum+=n[i];
            ^
0_0_16241020_10977\Main.java:69: 错误: 需要class, interface或enum
            }
            ^
0_0_16241020_10977\Main.java:74: 错误: 需要class, interface或enum
            solve();
            ^
0_0_16241020_10977\Main.java:77: 错误: 需要class, interface或enum
            int m;
            ^
0_0_16241020_10977\Main.java:78: 错误: 需要class, interface或enum
            scanf("%d",&m);
            ^
0_0_16241020_10977\Main.java:79: 错误: 需要class, interface或enum
            while(m--)
            ^
0_0_16241020_10977\Main.java:82: 错误: 需要class, interface或enum
                scanf("%d",&fff);
                ^
0_0_16241020_10977\Main.java:83: 错误: 需要class, interface或enum
                if(fff>2000)
                ^
0_0_16241020_10977\Main.java:86: 错误: 需要class, interface或enum
                     continue;
                     ^
0_0_16241020_10977\Main.java:87: 错误: 需要class, interface或enum
                }
                ^
0_0_16241020_10977\Main.java:91: 错误: 需要class, interface或enum
                else
                ^
0_0_16241020_10977\Main.java:93: 错误: 需要class, interface或enum
            }
            ^
0_0_16241020_10977\Main.java:99: 错误: 需要class, interface或enum
    }
    ^
50 个错误


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-25 22:50:31, Gzip enabled