Borderou de evaluare (job #2540094)

Utilizator mihai50000Mihai-Cristian Popescu mihai50000 Data 6 februarie 2020 18:55:33
Problema ABPerm Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:214:2: error: stray '#' in program }#include <bits/stdc++.h> ^ main.cpp:165:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] main() ^ main.cpp:214:3: error: 'include' does not name a type }#include <bits/stdc++.h> ^~~~~~~ main.cpp:218:13: error: redefinition of 'std::ifstream fin' ifstream fin("abperm.in"); ^ main.cpp:5:10: note: 'std::ifstream fin' previously declared here ifstream fin("abperm.in"); ^~~ main.cpp:219:14: error: redefinition of 'std::ofstream fout' ofstream fout("abperm.out"); ^ main.cpp:6:10: note: 'std::ofstream fout' previously declared here ofstream fout("abperm.out"); ^~~~ main.cpp:223:11: error: redefinition of 'const long long int DIM' const int DIM = 1e5 + 7; ^~~ main.cpp:10:11: note: 'const long long int DIM' previously defined here const int DIM = 1e5 + 7; ^~~ main.cpp:224:11: error: redefinition of 'const long long int mod' const int mod = 1e9 + 7; ^~~ main.cpp:11:11: note: 'const long long int mod' previously defined here const int mod = 1e9 + 7; ^~~ main.cpp:225:11: error: redefinition of 'const long long int mod2' const int mod2 = 1e9 + 7; ^~~~ main.cpp:12:11: note: 'const long long int mod2' previously defined here const int mod2 = 1e9 + 7; ^~~~ main.cpp:227:12: error: redefinition of 'long long int inv [100007]' int inv[DIM]; ^ main.cpp:14:5: note: 'long long int inv [100007]' previously declared here int inv[DIM]; ^~~ main.cpp:228:13: error: redefinition of 'long long int fact [100007]' int fact[DIM]; ^ main.cpp:15:5: note: 'long long int fact [100007]' previously declared here int fact[DIM]; Non zero exit status: 1

Ceva nu functioneaza?