Borderou de evaluare (job #2085948)
Utilizator | Data | 10 decembrie 2017 22:15:03 | |
---|---|---|---|
Problema | Miting | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:137:2: error: stray ‘#’ in program
}#include <fstream>
^
user.cpp:137:3: error: ‘include’ does not name a type
}#include <fstream>
^
user.cpp:144:13: error: redefinition of ‘std::ifstream fin’
ifstream fin("miting.in");
^
user.cpp:8:10: error: ‘std::ifstream fin’ previously declared here
ifstream fin("miting.in");
^
user.cpp:145:14: error: redefinition of ‘std::ofstream fout’
ofstream fout("miting.out");
^
user.cpp:9:10: error: ‘std::ofstream fout’ previously declared here
ofstream fout("miting.out");
^
user.cpp:147:13: error: redefinition of ‘const short int MaxN’
const short MaxN = 61, MaxC = 10, MaxV = 3601, Inf = 1 << 13,
^
user.cpp:11:13: error: ‘const short int MaxN’ previously defined here
const short MaxN = 61, MaxC = 10, MaxV = 3601, Inf = 1 << 13,
^
user.cpp:147:24: error: redefinition of ‘const short int MaxC’
const short MaxN = 61, MaxC = 10, MaxV = 3601, Inf = 1 << 13,
^
user.cpp:11:24: error: ‘const short int MaxC’ previously defined here
const short MaxN = 61, MaxC = 10, MaxV = 3601, Inf = 1 << 13,
^
user.cpp:147:35: error: redefinition of ‘const short int MaxV’
const short MaxN = 61, MaxC = 10, MaxV = 3601, Inf = 1 << 13,
^
user.cpp:11:35: error: ‘const short int MaxV’ previously defined here
const short MaxN = 61, MaxC = 10, MaxV = 3601, Inf = 1 << 13,
^
user.cpp:147:48: error: redefinition of ‘const short int Inf’
const short MaxN = 61, MaxC = 10, MaxV = 3601, Inf = 1 << 13,
^
user.cpp:11:48: error: ‘const short int Inf’ previously defined here
const short MaxN = 61, MaxC = 10, MaxV = 3601, Inf = 1 << 13,
^
user.cpp:148:14: error: redefinition of ‘const short int di []’
di[] = { -1, 0, 1, 0}, dj[] = { 0, 1, 0, -1};
^
user.cpp:12:11: error: ‘const short int di [4]’ previously defined here
di[] = { -1, 0, 1, 0}, dj[] = { 0, 1, 0, -1};
^
user.cpp:148:37: error: redefinition of ‘const short int dj []’
di[] = { -1, 0, 1, 0}, dj[] = { 0, 1, 0, -1};
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !