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_20427858_25440.cpp:7:1: error: 'll' does not name a type
 ll inv[maxm];
 ^
0_0_20427858_25440.cpp:8:1: error: 'll' does not name a type
 ll get_inv(ll x){return x<0?-inv[-x]:inv[x];}
 ^
0_0_20427858_25440.cpp:9:1: error: 'll' does not name a type
 ll x[maxn],y[maxn];
 ^
0_0_20427858_25440.cpp:10:1: error: 'll' does not name a type
 ll f[maxn][maxn];
 ^
0_0_20427858_25440.cpp:11:1: error: 'll' does not name a type
 ll n,m;
 ^
0_0_20427858_25440.cpp: In function 'int main()':
0_0_20427858_25440.cpp:14:2: error: 'll' was not declared in this scope
  ll i,j;
  ^
0_0_20427858_25440.cpp:15:2: error: 'inv' was not declared in this scope
  inv[1]=1;
  ^
0_0_20427858_25440.cpp:16:6: error: 'i' was not declared in this scope
  for(i=2;i<maxm;++i)
      ^
0_0_20427858_25440.cpp:18:16: error: 'n' was not declared in this scope
  scanf("%lld",&n);
                ^
0_0_20427858_25440.cpp:19:6: error: 'i' was not declared in this scope
  for(i=1;i<=n;++i)
      ^
0_0_20427858_25440.cpp:20:21: error: 'x' was not declared in this scope
   scanf("%lld%lld",&x[i],&y[i]);
                     ^
0_0_20427858_25440.cpp:20:27: error: 'y' was not declared in this scope
   scanf("%lld%lld",&x[i],&y[i]);
                           ^
0_0_20427858_25440.cpp:21:6: error: 'j' was not declared in this scope
  for(j=1;j<=n;++j)
      ^
0_0_20427858_25440.cpp:22:3: error: 'f' was not declared in this scope
   f[0][j]=y[j];
   ^
0_0_20427858_25440.cpp:22:11: error: 'y' was not declared in this scope
   f[0][j]=y[j];
           ^
0_0_20427858_25440.cpp:23:6: error: 'i' was not declared in this scope
  for(i=1;i<=n;++i)
      ^
0_0_20427858_25440.cpp:24:7: error: 'j' was not declared in this scope
   for(j=1;i+j<=n;++j)
       ^
0_0_20427858_25440.cpp:25:4: error: 'f' was not declared in this scope
    f[i][j]=1ll*(mod+f[i-1][j+1]-f[i-1][j])*get_inv(x[i+j]-x[j])%mod;
    ^
0_0_20427858_25440.cpp:25:52: error: 'x' was not declared in this scope
    f[i][j]=1ll*(mod+f[i-1][j+1]-f[i-1][j])*get_inv(x[i+j]-x[j])%mod;
                                                    ^
0_0_20427858_25440.cpp:25:63: error: 'get_inv' was not declared in this scope
    f[i][j]=1ll*(mod+f[i-1][j+1]-f[i-1][j])*get_inv(x[i+j]-x[j])%mod;
                                                               ^
0_0_20427858_25440.cpp:26:16: error: 'm' was not declared in this scope
  scanf("%lld",&m);
                ^
0_0_20427858_25440.cpp:27:5: error: expected ';' before 'l'
  ll l,r,z,ans,now;
     ^
0_0_20427858_25440.cpp:28:6: error: 'i' was not declared in this scope
  for(i=1;i<=m;++i)
      ^
0_0_20427858_25440.cpp:30:25: error: 'l' was not declared in this scope
   scanf("%lld%lld%lld",&l,&r,&z);
                         ^
0_0_20427858_25440.cpp:30:28: error: 'r' was not declared in this scope
   scanf("%lld%lld%lld",&l,&r,&z);
                            ^
0_0_20427858_25440.cpp:30:31: error: 'z' was not declared in this scope
   scanf("%lld%lld%lld",&l,&r,&z);
                               ^
0_0_20427858_25440.cpp:31:3: error: 'ans' was not declared in this scope
   ans=0,now=1;
   ^
0_0_20427858_25440.cpp:31:9: error: 'now' was not declared in this scope
   ans=0,now=1;
         ^
0_0_20427858_25440.cpp:32:7: error: 'j' was not declared in this scope
   for(j=0;j<=r-l;++j)
       ^
0_0_20427858_25440.cpp:33:17: error: 'f' was not declared in this scope
    ans=(ans+1ll*f[j][l]*now%mod)%mod,
                 ^
0_0_20427858_25440.cpp:34:23: error: 'x' was not declared in this scope
    now=1ll*now*(mod+z-x[j+l])%mod;
                       ^


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-06-16 18:12:04, Gzip enabled