Pagini recente » Borderou de evaluare (job #968856) | Borderou de evaluare (job #1627504) | Borderou de evaluare (job #2163631) | Borderou de evaluare (job #2489198) | Borderou de evaluare (job #1809990)
Borderou de evaluare (job #1809990)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
++f[a[i]];
^
user.cpp:42:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(f[b[i]] == 0)
^
user.cpp:44:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
--f[b[i]];
^
user.cpp:47:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pos[a[i]][++LE[a[i]]] = i + 1;
^
user.cpp:47:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pos[a[i]][++LE[a[i]]] = i + 1;
^
user.cpp:49:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
d[i] = pos[b[i]][++C[b[i]]];
^
user.cpp:49:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
d[i] = pos[b[i]][++C[b[i]]];
^
user.cpp:34:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("swap.in", "r", stdin);
^
user.cpp:35:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("swap.out", "w", stdout);
^
user.cpp:36:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", a);
^
user.cpp:37:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 280kb | OK | 10 |
| 2 | 0ms | 244kb | OK | 10 |
| 3 | 0ms | 316kb | OK | 10 |
| 4 | 0ms | 416kb | OK | 10 |
| 5 | 4ms | 704kb | OK | 10 |
| 6 | 4ms | 972kb | OK | 10 |
| 7 | 8ms | 988kb | OK | 10 |
| 8 | 4ms | 992kb | OK | 10 |
| 9 | 8ms | 996kb | OK | 10 |
| 10 | 8ms | 1064kb | OK | 10 |
| Punctaj total | 100 |