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_39465634_10585.cpp:4:13: error: 'lon' does not name a type; did you mean 'long'?
    4 | #define int lon long
      |             ^~~
0_0_39465634_10585.cpp:6:7: note: in expansion of macro 'int'
    6 | const int mod=998244353;
      |       ^~~
0_0_39465634_10585.cpp:4:13: error: 'lon' does not name a type; did you mean 'long'?
    4 | #define int lon long
      |             ^~~
0_0_39465634_10585.cpp:7:7: note: in expansion of macro 'int'
    7 | const int N=2e3+10;
      |       ^~~
0_0_39465634_10585.cpp:8:7: error: 'N' was not declared in this scope
    8 | pll l[N],r[N];
      |       ^
0_0_39465634_10585.cpp:8:12: error: 'N' was not declared in this scope
    8 | pll l[N],r[N];
      |            ^
0_0_39465634_10585.cpp:9:6: error: 'N' was not declared in this scope
    9 | ll C[N][N];
      |      ^
0_0_39465634_10585.cpp:9:9: error: 'N' was not declared in this scope
    9 | ll C[N][N];
      |         ^
0_0_39465634_10585.cpp: In function 'll quk(ll, ll)':
0_0_39465634_10585.cpp:14:32: error: 'mod' was not declared in this scope; did you mean 'modf'?
   14 |                 ans*=a;ans=ans%mod;
      |                                ^~~
      |                                modf
0_0_39465634_10585.cpp:16:22: error: 'mod' was not declared in this scope; did you mean 'modf'?
   16 |             a=a*a;a%=mod;b>>=1;
      |                      ^~~
      |                      modf
0_0_39465634_10585.cpp: In function 'll get_inv(ll)':
0_0_39465634_10585.cpp:20:33: error: 'mod' was not declared in this scope; did you mean 'modf'?
   20 | ll get_inv(ll x){ return quk(x, mod - 2);};
      |                                 ^~~
      |                                 modf
0_0_39465634_10585.cpp: At global scope:
0_0_39465634_10585.cpp:4:13: error: 'lon' does not name a type; did you mean 'long'?
    4 | #define int lon long
      |             ^~~
0_0_39465634_10585.cpp:21:1: note: in expansion of macro 'int'
   21 | int main(){
      | ^~~


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-09-20 07:26:26, Gzip enabled