Pagini recente » Borderou de evaluare (job #37335) | Borderou de evaluare (job #1497909) | Borderou de evaluare (job #2198784) | Borderou de evaluare (job #775435) | Borderou de evaluare (job #2226367)
Borderou de evaluare (job #2226367)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:63: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:65: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:67: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:63: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:67: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 | 6292kb | OK | 4 |
| 2 | 152ms | 6384kb | OK | 4 |
| 3 | 88ms | 5980kb | OK | 4 |
| 4 | 136ms | 6304kb | OK | 4 |
| 5 | 0ms | 4776kb | Incorect | 0 |
| 6 | 0ms | 4776kb | Incorect | 0 |
| 7 | 0ms | 4780kb | Incorect | 0 |
| 8 | 0ms | 4780kb | Incorect | 0 |
| 9 | 4ms | 4864kb | Incorect | 0 |
| 10 | 4ms | 4888kb | Incorect | 0 |
| 11 | 4ms | 4892kb | Incorect | 0 |
| 12 | 4ms | 4856kb | Incorect | 0 |
| 13 | 4ms | 4896kb | Incorect | 0 |
| 14 | 4ms | 4884kb | Incorect | 0 |
| 15 | 4ms | 4860kb | Incorect | 0 |
| 16 | 4ms | 4860kb | Incorect | 0 |
| 17 | 456ms | 7240kb | Incorect | 0 |
| 18 | 452ms | 7180kb | Incorect | 0 |
| 19 | 460ms | 7204kb | Incorect | 0 |
| 20 | 464ms | 7244kb | Incorect | 0 |
| 21 | 476ms | 7244kb | Incorect | 0 |
| 22 | 460ms | 7204kb | Incorect | 0 |
| 23 | 476ms | 7240kb | Incorect | 0 |
| 24 | 484ms | 7156kb | Incorect | 0 |
| 25 | 468ms | 7208kb | Incorect | 0 |
| Punctaj total | 16 |