Pagini recente » Borderou de evaluare (job #3264350) | Borderou de evaluare (job #2908667) | Borderou de evaluare (job #3165649) | Borderou de evaluare (job #2094400) | Borderou de evaluare (job #2127777)
Borderou de evaluare (job #2127777)
Raport evaluator
Compilare:
user.cpp: In function ‘int prs()’:
user.cpp:14:24: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(C + 1, 10005, f);
^
user.cpp: In function ‘int main()’:
user.cpp:24:46: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d %d %d %d\n",&x0,&a,&b,&m,&q);
^
In file included from /usr/include/stdio.h:936:0,
from /usr/include/c++/5/cstdio:42,
from /usr/include/x86_64-linux-gnu/c++/5/32/bits/stdc++.h:46,
from user.cpp:1:
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int prs()’ at user.cpp:14:24:
/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 | 0ms | 1328kb | OK | 10 |
| 2 | 0ms | 1332kb | Incorect | 0 |
| 3 | 0ms | 1328kb | Incorect | 0 |
| 4 | 32ms | 1328kb | Incorect | 0 |
| 5 | 28ms | 1324kb | Incorect | 0 |
| 6 | 48ms | 1344kb | Incorect | 0 |
| 7 | 68ms | 1360kb | Incorect | 0 |
| 8 | 260ms | 1364kb | Incorect | 0 |
| 9 | 452ms | 1364kb | Incorect | 0 |
| 10 | 460ms | 1360kb | Incorect | 0 |
| Punctaj total | 10 |