Pagini recente » Borderou de evaluare (job #398479) | Borderou de evaluare (job #1130237) | Borderou de evaluare (job #2085442) | Borderou de evaluare (job #1086883) | Borderou de evaluare (job #2226376)
Borderou de evaluare (job #2226376)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:72:25: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets (s+1,1510,fin);
^
user.cpp:74:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%d\n",&n);
^
user.cpp:76:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets (cc+1,1510,fin);
^
In file included from /usr/include/stdio.h:936:0,
from /usr/include/c++/6/cstdio:42,
from user.cpp:1:
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:72:25:
/usr/include/bits/stdio2.h:261:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:76:30:
/usr/include/bits/stdio2.h:261:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 80ms | 6288kb | Incorect | 0 |
| 2 | 96ms | 6384kb | Incorect | 0 |
| 3 | 56ms | 5980kb | Incorect | 0 |
| 4 | 84ms | 6300kb | Incorect | 0 |
| 5 | 0ms | 4776kb | Incorect | 0 |
| 6 | 0ms | 4780kb | Incorect | 0 |
| 7 | 0ms | 4780kb | Incorect | 0 |
| 8 | 0ms | 4784kb | Incorect | 0 |
| 9 | 0ms | 4860kb | Incorect | 0 |
| 10 | 4ms | 4888kb | Incorect | 0 |
| 11 | 4ms | 4896kb | Incorect | 0 |
| 12 | 0ms | 4856kb | Incorect | 0 |
| 13 | 4ms | 4892kb | Incorect | 0 |
| 14 | 4ms | 4884kb | Incorect | 0 |
| 15 | 0ms | 4856kb | Incorect | 0 |
| 16 | 0ms | 4860kb | Incorect | 0 |
| 17 | 268ms | 7240kb | Incorect | 0 |
| 18 | 268ms | 7180kb | Incorect | 0 |
| 19 | 272ms | 7200kb | Incorect | 0 |
| 20 | 276ms | 7240kb | Incorect | 0 |
| 21 | 276ms | 7244kb | Incorect | 0 |
| 22 | 276ms | 7204kb | Incorect | 0 |
| 23 | 280ms | 7248kb | Incorect | 0 |
| 24 | 288ms | 7152kb | Incorect | 0 |
| 25 | 276ms | 7204kb | Incorect | 0 |
| Punctaj total | 0 |