Borderou de evaluare (job #2467871)
Utilizator | Data | 5 octombrie 2019 09:51:40 | |
---|---|---|---|
Problema | Spion | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:29:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(fin >> ch);
^~~~~
main.cpp:30:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
{
^
main.cpp:37:34: error: expected ';' before ':' token
fout << (nrE + 1) << "\n":
^
main.cpp:48:8: error: invalid types 'int[int]' for array subscript
f[0] = f[1] = 1;
^
main.cpp:48:15: error: invalid types 'int[int]' for array subscript
f[0] = f[1] = 1;
^
main.cpp:50:12: error: invalid types 'int[int]' for array subscript
f[i] = 1LL * f[i - 1] * i % Mod;
^
main.cpp:50:29: error: invalid types 'int[int]' for array subscript
f[i] = 1LL * f[i - 1] * i % Mod;
^
main.cpp:54:23: error: invalid types 'int[int]' for array subscript
answer = 1LL * f[n] * LogP(f[k], Mod - 2) % Mod * LogP(f[n - k], Mod = 2) % Mod;
^
main.cpp:54:35: error: invalid types 'int[int]' for array subscript
answer = 1LL * f[n] * LogP(f[k], Mod - 2) % Mod * LogP(f[n - k], Mod = 2) % Mod;
^
main.cpp:54:67: error: invalid types 'int[int]' for array subscript
answer = 1LL * f[n] * LogP(f[k], Mod - 2) % Mod * LogP(f[n - k], Mod = 2) % Mod;
^
main.cpp:54:76: error: lvalue required as left operand of assignment
answer = 1LL * f[n] * LogP(f[k], Mod - 2) % Mod * LogP(f[n - k], Mod = 2) % Mod;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !