Pagini recente » Borderou de evaluare (job #659234) | Borderou de evaluare (job #2970411) | Borderou de evaluare (job #275927) | Borderou de evaluare (job #2963636) | Borderou de evaluare (job #2070769)
Borderou de evaluare (job #2070769)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:26:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &n);
^
user.c:29:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &v[i]);
^
user.c:101:25: warning: ‘ctn’ may be used uninitialized in this function [-Wmaybe-uninitialized]
nowcost = cti + ctj + ctk + ctn;
^
user.c:94:44: warning: ‘prevmin4’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if ((v[k] == prevmax4) || (v[k] == prevmin4)) {
^
user.c:94:24: warning: ‘prevmax4’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if ((v[k] == prevmax4) || (v[k] == prevmin4)) {
^
user.c:101:37: warning: ‘ctk’ may be used uninitialized in this function [-Wmaybe-uninitialized]
nowcost = cti + ctj + ctk + ctn;
^
user.c:89:24: warning: ‘prevmin3’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (v[k] < prevmin3) {
^
user.c:85:24: warning: ‘prevmax3’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (v[k] > prevmax3) {
^
user.c:54:17: warning: ‘ctj’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int ctj;
^
user.c:64:20: warning: ‘prevmin2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (v[j] < prevmin2) {
^
user.c:60:20: warning: ‘prevmax2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (v[j] > prevmax2) {
^
user.c:34:9: warning: ‘cti’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int cti;
^
user.c:46:16: warning: ‘prevmin1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (v[i] < prevmin1) {
^
user.c:42:16: warning: ‘prevmax1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (v[i] > prevmax1) {
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | Incorect | 0 |
2 | 0ms | 276kb | Incorect | 0 |
3 | 20ms | 284kb | Incorect | 0 |
4 | 16ms | 276kb | Incorect | 0 |
5 | 32ms | 280kb | Incorect | 0 |
6 | Depăşit | 268kb | Time limit exceeded. | 0 |
7 | Depăşit | 272kb | Time limit exceeded. | 0 |
8 | Depăşit | 272kb | Time limit exceeded. | 0 |
9 | Depăşit | 276kb | Time limit exceeded. | 0 |
10 | Depăşit | 272kb | Time limit exceeded. | 0 |
Punctaj total | 0 |