Pagini recente » Borderou de evaluare (job #2798375) | Borderou de evaluare (job #989820) | Borderou de evaluare (job #2837110) | Borderou de evaluare (job #1365288) | Borderou de evaluare (job #1992306)
Borderou de evaluare (job #1992306)
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:45:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
++skipped[buf[head]]; --head;
^
user.cpp:48:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (skipped[buf[i]]) {
^
user.cpp:49: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/ccQQmyLm.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 | 240kb | Incorect | 0 |
| 6 | 0ms | 344kb | Incorect | 0 |
| 7 | 0ms | 336kb | Incorect | 0 |
| 8 | 28ms | 1216kb | Incorect | 0 |
| 9 | 28ms | 1216kb | Incorect | 0 |
| 10 | 28ms | 1220kb | Incorect | 0 |
| Punctaj total | 0 |