Borderou de evaluare (job #2377809)
Utilizator | Data | 11 martie 2019 10:11:56 | |
---|---|---|---|
Problema | Easyvect | Status | done |
Runda | Arhiva ICPC | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:262:21: error: invalid operands of types 'int [10]' and 'int' to binary 'operator&'
if(ct == 0 && n & 1)
~~^~~
main.cpp:228:8: warning: unused variable 'tip' [-Wunused-variable]
char tip;
^~~
main.cpp:221:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("easyvect.in", "r", stdin);
^
main.cpp:223:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("easyvect.out", "w", stdout);
^
main.cpp: In function 'char readch()':
main.cpp:41:31: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fread(str, BUFF, 1, stdin);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !