Pagini recente » Borderou de evaluare (job #2148847) | Borderou de evaluare (job #927693) | Borderou de evaluare (job #264387) | Borderou de evaluare (job #2488552) | Borderou de evaluare (job #1876390)
Borderou de evaluare (job #1876390)
Raport evaluator
Compilare:
user.cpp: In function ‘void citeste(int&)’:
user.cpp:8:96: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
while (buff[poz] < '0' || buff[poz] > '9') if (++poz == DIM) fread(buff,1,DIM,stdin),poz=0;
^
user.cpp:12:58: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if (++poz == DIM) fread(buff,1,DIM,stdin),poz=0;
^
user.cpp: In function ‘int main()’:
user.cpp:49:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("meciul.in","r",stdin);
^
user.cpp:50:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("meciul.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 208ms | 1792kb | OK | 100 |
Punctaj total | 100 |