Pagini recente » Borderou de evaluare (job #573456) | Borderou de evaluare (job #20551) | Borderou de evaluare (job #2938906) | Borderou de evaluare (job #1086879) | Borderou de evaluare (job #2226368)
Borderou de evaluare (job #2226368)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:69: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:71: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:73: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:69: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:73: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 | 128ms | 6288kb | OK | 4 |
| 2 | 152ms | 6380kb | OK | 4 |
| 3 | 92ms | 5976kb | OK | 4 |
| 4 | 136ms | 6304kb | OK | 4 |
| 5 | 0ms | 4780kb | Incorect | 0 |
| 6 | 0ms | 4776kb | Incorect | 0 |
| 7 | 0ms | 4776kb | Incorect | 0 |
| 8 | 0ms | 4784kb | Incorect | 0 |
| 9 | 4ms | 4860kb | Incorect | 0 |
| 10 | 4ms | 4892kb | Incorect | 0 |
| 11 | 4ms | 4888kb | Incorect | 0 |
| 12 | 4ms | 4860kb | Incorect | 0 |
| 13 | 4ms | 4892kb | Incorect | 0 |
| 14 | 4ms | 4884kb | Incorect | 0 |
| 15 | 4ms | 4860kb | Incorect | 0 |
| 16 | 4ms | 4860kb | Incorect | 0 |
| 17 | 460ms | 7236kb | Incorect | 0 |
| 18 | 452ms | 7176kb | Incorect | 0 |
| 19 | 464ms | 7200kb | Incorect | 0 |
| 20 | 464ms | 7244kb | Incorect | 0 |
| 21 | 476ms | 7244kb | Incorect | 0 |
| 22 | 460ms | 7204kb | Incorect | 0 |
| 23 | 476ms | 7244kb | Incorect | 0 |
| 24 | 488ms | 7152kb | Incorect | 0 |
| 25 | 468ms | 7204kb | Incorect | 0 |
| Punctaj total | 16 |