Pagini recente » Borderou de evaluare (job #2912473) | Borderou de evaluare (job #3150654) | Cod sursa (job #2566248) | Cod sursa (job #1901021) | Borderou de evaluare (job #1799058)
Borderou de evaluare (job #1799058)
Raport evaluator
Compilare:
user.cpp: In function ‘int get_nr()’:
user.cpp:13:50: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(++poz==LMAX) {fread(buff,1,LMAX,stdin); poz=0;}
^
user.cpp:16:51: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if (++poz==LMAX) {fread(buff,1,LMAX,stdin); poz=0;}
^
user.cpp: In function ‘int main()’:
user.cpp:21:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{ freopen("hvrays.in","r",stdin);
^
user.cpp:22:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hvrays.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 244ms | 1952kb | OK | 100 |
Punctaj total | 100 |