Pagini recente » Borderou de evaluare (job #91486) | Borderou de evaluare (job #1650608) | Borderou de evaluare (job #3148131) | Borderou de evaluare (job #1987552) | Borderou de evaluare (job #2008311)
Borderou de evaluare (job #2008311)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:61:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
int val = aux1[str[i]];
^
user.cpp:48:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("supersf.in" , "r", stdin );
^
user.cpp:49:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("supersf.out", "w", stdout);
^
user.cpp:51:31: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(str + 1, DIM, stdin);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46,
from user.cpp:1:
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:51:31:
/usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default]
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 24ms | 416kb | OK | 5 |
| 2 | 24ms | 424kb | OK | 5 |
| 3 | 24ms | 428kb | Incorect | 0 |
| 4 | 24ms | 428kb | Incorect | 0 |
| 5 | 24ms | 432kb | Incorect | 0 |
| 6 | 24ms | 440kb | Incorect | 0 |
| 7 | 24ms | 436kb | Incorect | 0 |
| 8 | 28ms | 448kb | Incorect | 0 |
| 9 | 28ms | 460kb | Incorect | 0 |
| 10 | 28ms | 468kb | Incorect | 0 |
| 11 | 28ms | 476kb | Incorect | 0 |
| 12 | 28ms | 480kb | Incorect | 0 |
| 13 | 40ms | 648kb | Incorect | 0 |
| 14 | 60ms | 868kb | Incorect | 0 |
| 15 | 96ms | 1308kb | Incorect | 0 |
| 16 | 140ms | 1744kb | Incorect | 0 |
| 17 | 164ms | 1964kb | Incorect | 0 |
| 18 | 180ms | 2172kb | Incorect | 0 |
| 19 | 172ms | 2168kb | Incorect | 0 |
| 20 | 28ms | 424kb | OK | 5 |
| Punctaj total | 15 |