Problem helloworld
User jatrophalouvre
Submission Time 2024-09-14 10:22:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

helloworld.cpp:7:29: error: ‘ll’ does not name a type
7 | const int _bsz=1<<22; const ll _mod=1e9+7;
| ^~
helloworld.cpp:8:15: error: ‘ll’ does not name a type
8 | struct mint { ll v; mint() { v=0; } mint(ll V) { v=(V%_mod+_mod)%_mod; }};
| ^~
helloworld.cpp:8:44: error: expected ‘)’ before ‘V’
8 | struct mint { ll v; mint() { v=0; } mint(ll V) { v=(V%_mod+_mod)%_mod; }};
| ~ ^~
| )
helloworld.cpp: In constructor ‘mint::mint()’:
helloworld.cpp:8:30: error: ‘v’ was not declared in this scope
8 | struct mint { ll v; mint() { v=0; } mint(ll V) { v=(V%_mod+_mod)%_mod; }};
| ^
helloworld.cpp: In function ‘mint operator+(mint, mint)’:
helloworld.cpp:9:50: error: ‘struct mint’ has no member named ‘v’
9 | mint operator+(mint x, mint y) { r