Borderou de evaluare (job #2448612)
Utilizator | Data | 17 august 2019 13:12:57 | |
---|---|---|---|
Problema | Ultrapoligon | Status | done |
Runda | Summer Challenge 2019 | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:8:7: error: 'I64' does not name a type
const I64 NMAX = 1e5;
^~~
main.cpp:9:7: error: 'I64' does not name a type
const I64 MOD = 1e9 + 7;
^~~
main.cpp:13:8: error: 'NMAX' was not declared in this scope
I64 p2[NMAX+2];
^~~~
main.cpp:14:7: error: 'NMAX' was not declared in this scope
I64 x[NMAX+2], y[NMAX+2];
^~~~
main.cpp:14:18: error: 'NMAX' was not declared in this scope
I64 x[NMAX+2], y[NMAX+2];
^~~~
main.cpp: In function 'I64 simple(I64, I64)':
main.cpp:20:13: error: 'x' was not declared in this scope
return (x[i] * y[j] % MOD - x[j] * y[i] % MOD + MOD) % MOD;
^
main.cpp:20:20: error: 'y' was not declared in this scope
return (x[i] * y[j] % MOD - x[j] * y[i] % MOD + MOD) % MOD;
^
main.cpp:20:27: error: 'MOD' was not declared in this scope
return (x[i] * y[j] % MOD - x[j] * y[i] % MOD + MOD) % MOD;
^~~
main.cpp: In function 'I64 formula(I64, I64)':
main.cpp:25:16: error: 'p2' was not declared in this scope
I64 coef = p2[i - 1 + N - j] - 1 + /* p2[j - i - 1] - 1 */ + MOD;
^~
main.cpp:25:66: error: 'MOD' was not declared in this scope
I64 coef = p2[i - 1 + N - j] - 1 + /* p2[j - i - 1] - 1 */ + MOD;
^~~
main.cpp:33:26: error: 'x' was not declared in this scope
return 1LL * coef * (x[i] * y[j] % MOD - x[j] * y[i] % MOD + MOD) % MOD;
^
main.cpp:33:33: error: 'y' was not declared in this scope
return 1LL * coef * (x[i] * y[j] % MOD - x[j] * y[i] % MOD + MOD) % MOD;
^
main.cpp: In function 'int main()':
main.cpp:38:5: error: 'p2' was not declared in this scope
p2[0] = 1;
^~
main.cpp:39:27: error: 'NMAX' was not declared in this scope
for( I64 i = 1; i <= NMAX; ++i )
^~~~
main.cpp:40:35: error: 'MOD' was not declared in this scope
p2[i] = 2LL * p2[i - 1] % MOD;
^~~
main.cpp:44:15: error: 'x' was not declared in this scope
in >> x[i] >> y[i];
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !