Borderou de evaluare (job #1783199)
Utilizator | Data | 18 octombrie 2016 20:51:15 | |
---|---|---|---|
Problema | Bucket | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:83:13: error: ‘ok’ was not declared in this scope
ok = 0;
^
user.cpp:90:13: error: ‘ok’ was not declared in this scope
ok = 0;
^
user.cpp:95:9: error: ‘ok’ was not declared in this scope
if (ok == 0) continue;
^
user.cpp:107:13: error: ‘ok’ was not declared in this scope
ok = 0;
^
user.cpp:111:9: error: ‘ok’ was not declared in this scope
if (ok == 0) continue;
^
user.cpp:23:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("bucket.in", "r", stdin);
^
user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("bucket.out", "w", stdout);
^
user.cpp: In function ‘void Next()’:
user.cpp:132:45: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread (sir, 1, maxl, stdin), pos = 0;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !