Pagini recente » Borderou de evaluare (job #2070953) | Borderou de evaluare (job #2071993) | Borderou de evaluare (job #2346556) | Borderou de evaluare (job #1984892) | Borderou de evaluare (job #1992304)
Borderou de evaluare (job #1992304)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:41:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
++f[buf[i]];
^
user.cpp:43:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
++f[buf[i]];
^
user.cpp:45:10: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (f[d]) {
^
user.cpp:46:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
++skipped[d];
^
user.cpp:51:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (skipped[buf[i]]) {
^
user.cpp:52:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
--skipped[buf[i]];
^
user.cpp:35:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(InFile, "r", stdin);
^
user.cpp:36:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(OuFile, "w", stdout);
^
user.cpp:38:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &M); getchar();
^
user.cpp:39:11: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(buf);
^
/tmp/cckxkRTc.o: In function `main':
user.cpp:(.text.startup+0x7f): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 244kb | Incorect | 0 |
2 | 0ms | 244kb | Incorect | 0 |
3 | 0ms | 244kb | Incorect | 0 |
4 | 0ms | 240kb | Incorect | 0 |
5 | 0ms | 244kb | Incorect | 0 |
6 | 0ms | 340kb | Incorect | 0 |
7 | 0ms | 340kb | Incorect | 0 |
8 | 28ms | 1216kb | Incorect | 0 |
9 | 28ms | 1216kb | Incorect | 0 |
10 | 28ms | 1220kb | Incorect | 0 |
Punctaj total | 0 |