Borderou de evaluare (job #1536076)
Utilizator | Data | 25 noiembrie 2015 17:28:24 | |
---|---|---|---|
Problema | Joc13 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:11: error: conflicting declaration ‘std::ofstream f’
ofstream f("joc13.out");
^
user.cpp:7:10: error: ‘f’ has a previous declaration as ‘std::ifstream f’
ifstream f("joc13.in");
^
user.cpp: In function ‘int main()’:
user.cpp:16:2: error: ‘fin’ was not declared in this scope
fin>>n>>K;
^
user.cpp:17:6: error: ‘i’ was not declared in this scope
for(i=0;i<2;++i)
^
user.cpp:18:11: error: ‘j’ was not declared in this scope
for(j=0;j<n;++j)
^
user.cpp:20:6: error: ‘i’ was not declared in this scope
for(i=0;i<2;++i)
^
user.cpp:21:11: error: ‘j’ was not declared in this scope
for(j=0;j<n;++j)
^
user.cpp:22:13: error: ‘d’ was not declared in this scope
for(d=0;d<3;++d)
^
user.cpp:23:15: error: ‘k’ was not declared in this scope
for(k=0;k<=K;++k)
^
user.cpp:3:13: error: ‘INT_MAX’ was not declared in this scope
#define INF INT_MAX / 2
^
user.cpp:24:30: note: in expansion of macro ‘INF’
s[i][j][d][k] = -INF;
^
user.cpp:25:2: error: ‘g’ was not declared in this scope
g<<Sum(1,n-1,dr,1);
^
user.cpp: In function ‘int Sum(int, int, int, int)’:
user.cpp:3:13: error: ‘INT_MAX’ was not declared in this scope
#define INF INT_MAX / 2
^
user.cpp:31:11: note: in expansion of macro ‘INF’
if(ret!=-INF)
^
user.cpp:40:5: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(dir==dr)
^
user.cpp:50:5: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(dir==dr)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !