Pagini recente » Borderou de evaluare (job #1722184) | Borderou de evaluare (job #2341655) | Borderou de evaluare (job #430733) | Borderou de evaluare (job #1493430) | Borderou de evaluare (job #2160059)
Borderou de evaluare (job #2160059)
Raport evaluator
Compilare:
user.cpp: In function ‘int injectie(int)’:
user.cpp:18:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(inj[s[i]] == '\0') {
^
user.cpp:19:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
inj[s[i]] = nxt;
^
user.cpp:23:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
s[i] = inj[s[i]];
^
user.cpp: In function ‘int main()’:
user.cpp:33:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^
user.cpp:33:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^
user.cpp:33:11: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^
user.cpp:30:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("smooth2.in", "r", stdin);
^
user.cpp:31:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("smooth2.out", "w", stdout);
^
user.cpp:33:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/cchPeREB.o: In function `main':
user.cpp:(.text.startup+0x49): warning: the `gets' function is dangerous and should not be used.
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 0ms | 1164kb | OK! | 0 | 0 |
✓ | 2 | 0ms | 1172kb | OK! | 0 | 0 |
✓ | 3 | 0ms | 1140kb | OK! | 0 | 0 |
✓ | 4 | 0ms | 1192kb | OK! | 0 | 0 |
✗ | 5 | 0ms | 1148kb | OK! | 3 | 3 |
✗ | 6 | 0ms | 1168kb | Raspuns gresit! | 0 | 0 |
✗ | 7 | 0ms | 1292kb | OK! | 2 | 2 |
✗ | 8 | 0ms | 1192kb | Raspuns gresit! | 0 | 0 |
✗ | 9 | 0ms | 1168kb | OK! | 3 | 3 |
✗ | 10 | 0ms | 1176kb | OK! | 3 | 3 |
✗ | 11 | 0ms | 1196kb | OK! | 4 | 4 |
✗ | 12 | 0ms | 1244kb | Raspuns gresit! | 0 | 0 |
✗ | 13 | 0ms | 1308kb | Raspuns gresit! | 0 |
✗ | 14 | 0ms | 1184kb | Raspuns gresit! | 0 |
✗ | 15 | 0ms | 1312kb | Raspuns gresit! | 0 |
✗ | 16 | 0ms | 1280kb | OK! | 5 |
✗ | 17 | 0ms | 1288kb | Raspuns gresit! | 0 |
✗ | 18 | 4ms | 1396kb | OK! | 5 | 0 |
✗ | 19 | 0ms | 1300kb | Raspuns gresit! | 0 |
✗ | 20 | 0ms | 1308kb | Raspuns gresit! | 0 |
Punctaj total | 15 |