Borderou de evaluare (job #1459243)
Utilizator | Data | 9 iulie 2015 14:40:21 | |
---|---|---|---|
Problema | Plopi | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:16:18: error: size of array ‘impar’ is too large
bool impar[lm][lm];
^
user.cpp: In function ‘void dp(int, int, long long int&, long long int&)’:
user.cpp:27:13: error: ‘impar’ was not declared in this scope
if (impar[nod][*it]) {
^
user.cpp: In function ‘int main()’:
user.cpp:51:9: error: ‘impar’ was not declared in this scope
impar[a][b] = impar[b][a] = (c % 2 == 1);
^
user.cpp:57:13: error: ‘impar’ was not declared in this scope
if (impar[1][*it]) {
^
user.cpp:38:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("plopi.in", "r", stdin);
^
user.cpp:39:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("plopi.out", "w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !