Borderou de evaluare (job #3193028)
Utilizator | Data | 13 ianuarie 2024 20:07:31 | |
---|---|---|---|
Problema | Nmult | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:51:10: error: redefinition of 'std::ifstream fin'
51 | ifstream fin("txt.in");
| ^~~
main.cpp:5:10: note: 'std::ifstream fin' previously declared here
5 | ifstream fin("nmult.in");
| ^~~
main.cpp:52:10: error: redefinition of 'std::ofstream fout'
52 | ofstream fout("txt.out");
| ^~~~
main.cpp:6:10: note: 'std::ofstream fout' previously declared here
6 | ofstream fout("nmult.out");
| ^~~~
main.cpp:53:11: error: redefinition of 'const int mod'
53 | const int mod = 666013;
| ^~~
main.cpp:7:11: note: 'const int mod' previously defined here
7 | const int mod = 666013;
| ^~~
main.cpp:54:11: error: redefinition of 'long long int n'
54 | long long n, k, w, a, b, i, fact[mod + 2], r = 1;
| ^
main.cpp:8:11: note: 'long long int n' previously declared here
8 | long long n, k, w, a, b, i, fact[mod + 2], r = 1;
| ^
main.cpp:54:14: error: redefinition of 'long long int k'
54 | long long n, k, w, a, b, i, fact[mod + 2], r = 1;
| ^
main.cpp:8:14: note: 'long long int k' previously declared here
8 | long long n, k, w, a, b, i, fact[mod + 2], r = 1;
| ^
main.cpp:54:17: error: redefinition of 'long long int w'
54 | long long n, k, w, a, b, i, fact[mod + 2], r = 1;
| ^
main.cpp:8:17: note: 'long long int w' previously declared here
8 | long long n, k, w, a, b, i, fact[mod + 2], r = 1;
| ^
main.cpp:54:20: error: redefinition of 'long long int a'
54 | long long n, k, w, a, b, i, fact[mod + 2], r = 1;
| ^
main.cpp:8:20: note: 'long long int a' previously declared here
8 | long long n, k, w, a, b, i, fact[mod + 2], r = 1;
| ^
main.cpp:54:23: error: redefinition of 'long long int b'
54 | long long n, k, w, a, b, i, fact[mod + 2], r = 1;
| ^
main.cpp:8:23: note: 'long long int b' previously declared here
8 | long long n, k, w, a, b, i, fact[mod + 2], r = 1;
| ^
main.cpp:54:26: error: redefinition of 'long long int i'
54 | long long n, k, w, a, b, i, fact[mod + 2], r = 1;
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !