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_18105450_29299\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_18105450_29299\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_18105450_29299\Main.java:2: 错误: 非法字符: '#'
#include <string.h>
^
0_0_18105450_29299\Main.java:3: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_18105450_29299\Main.java:6: 错误: 需要class, interface或enum
typedef long long LL;
^
0_0_18105450_29299\Main.java:8: 错误: 需要class, interface或enum
const int N=100005;
^
0_0_18105450_29299\Main.java:9: 错误: 需要class, interface或enum
const LL MOD=1000000007;
^
0_0_18105450_29299\Main.java:11: 错误: 需要class, interface或enum
LL ans[N],tmp[N];
^
0_0_18105450_29299\Main.java:13: 错误: 需要class, interface或enum
void Init()
^
0_0_18105450_29299\Main.java:16: 错误: 需要class, interface或enum
    for(int i=-1000;i<=1000;i++)
    ^
0_0_18105450_29299\Main.java:16: 错误: 需要class, interface或enum
    for(int i=-1000;i<=1000;i++)
                    ^
0_0_18105450_29299\Main.java:16: 错误: 需要class, interface或enum
    for(int i=-1000;i<=1000;i++)
                            ^
0_0_18105450_29299\Main.java:18: 错误: 需要class, interface或enum
    ans[0]=1;
    ^
0_0_18105450_29299\Main.java:19: 错误: 需要class, interface或enum
    for(int i=1;i<N;i++)
    ^
0_0_18105450_29299\Main.java:19: 错误: 需要class, interface或enum
    for(int i=1;i<N;i++)
                ^
0_0_18105450_29299\Main.java:19: 错误: 需要class, interface或enum
    for(int i=1;i<N;i++)
                    ^
0_0_18105450_29299\Main.java:22: 错误: 需要class, interface或enum
        for(int j=1;j<=i;j++)
        ^
0_0_18105450_29299\Main.java:22: 错误: 需要class, interface或enum
        for(int j=1;j<=i;j++)
                    ^
0_0_18105450_29299\Main.java:22: 错误: 需要class, interface或enum
        for(int j=1;j<=i;j++)
                         ^
0_0_18105450_29299\Main.java:27: 错误: 需要class, interface或enum
                else     ans[i]-=ans[i-tmp[j+t]];
                ^
0_0_18105450_29299\Main.java:28: 错误: 需要class, interface或enum
            }
            ^
0_0_18105450_29299\Main.java:30: 错误: 需要class, interface或enum
            ans[i]=(ans[i]%MOD+MOD)%MOD;
            ^
0_0_18105450_29299\Main.java:31: 错误: 需要class, interface或enum
            if(tmp[t-j]<=i)
            ^
0_0_18105450_29299\Main.java:34: 错误: 需要class, interface或enum
                else    ans[i]-=ans[i-tmp[t-j]];
                ^
0_0_18105450_29299\Main.java:35: 错误: 需要class, interface或enum
            }
            ^
0_0_18105450_29299\Main.java:37: 错误: 需要class, interface或enum
        }
        ^
0_0_18105450_29299\Main.java:39: 错误: 需要class, interface或enum
    }
    ^
0_0_18105450_29299\Main.java:44: 错误: 需要class, interface或enum
    Init();
    ^
0_0_18105450_29299\Main.java:45: 错误: 需要class, interface或enum
    cin>>t;
    ^
0_0_18105450_29299\Main.java:46: 错误: 需要class, interface或enum
    while(t--)
    ^
0_0_18105450_29299\Main.java:49: 错误: 需要class, interface或enum
        cout<<ans[n]<<endl;
        ^
0_0_18105450_29299\Main.java:50: 错误: 需要class, interface或enum
    }
    ^
0_0_18105450_29299\Main.java:52: 错误: 需要class, interface或enum
}
^
33 个错误


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 04:51:04, Gzip enabled