Borderou de evaluare (job #2349248)
| Utilizator | Data | 20 februarie 2019 12:21:11 | |
|---|---|---|---|
| Problema | Combinari | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void S(int)':
main.cpp:16:11: error: 'l' was not declared in this scope
r[l++]=49,r[l++]=x+38;
^
main.cpp:18:11: error: 'l' was not declared in this scope
r[l++]=x;
^
main.cpp:19:7: error: 'l' was not declared in this scope
r[l++]=32;
^
main.cpp: In function 'void B(int)':
main.cpp:28:11: error: 'l' was not declared in this scope
r[l++]=10;
^
main.cpp: In function 'int main()':
main.cpp:36:111: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("combinari.in","r",stdin),freopen("combinari.out","w",stdout),fread(r,1,30,stdin),n=A(),p=A(),B(1);
^
main.cpp:36:111: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:36:111: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
