Pagini recente » Borderou de evaluare (job #801563) | Borderou de evaluare (job #857141) | Borderou de evaluare (job #757077) | Borderou de evaluare (job #885541) | Borderou de evaluare (job #2226375)
Borderou de evaluare (job #2226375)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:73: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:75: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:77: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:73: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:77: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 | 116ms | 6288kb | OK | 4 |
| 2 | 136ms | 6384kb | OK | 4 |
| 3 | 84ms | 5976kb | OK | 4 |
| 4 | 124ms | 6304kb | OK | 4 |
| 5 | 0ms | 4776kb | OK | 4 |
| 6 | 0ms | 4776kb | Incorect | 0 |
| 7 | 0ms | 4784kb | Incorect | 0 |
| 8 | 0ms | 4784kb | Incorect | 0 |
| 9 | 4ms | 4860kb | Incorect | 0 |
| 10 | 4ms | 4888kb | Incorect | 0 |
| 11 | 4ms | 4892kb | Incorect | 0 |
| 12 | 4ms | 4860kb | Incorect | 0 |
| 13 | 4ms | 4888kb | Incorect | 0 |
| 14 | 4ms | 4884kb | Incorect | 0 |
| 15 | 4ms | 4856kb | Incorect | 0 |
| 16 | 4ms | 4860kb | OK | 4 |
| 17 | 384ms | 7236kb | OK | 4 |
| 18 | 380ms | 7180kb | OK | 4 |
| 19 | 392ms | 7200kb | OK | 4 |
| 20 | 400ms | 7240kb | OK | 4 |
| 21 | 416ms | 7240kb | Incorect | 0 |
| 22 | 388ms | 7208kb | OK | 4 |
| 23 | 444ms | 7240kb | Incorect | 0 |
| 24 | 444ms | 7152kb | Incorect | 0 |
| 25 | 396ms | 7204kb | OK | 4 |
| Punctaj total | 48 |