Pagini recente » Borderou de evaluare (job #2424758) | Borderou de evaluare (job #416457) | Borderou de evaluare (job #2650169) | Borderou de evaluare (job #2346272) | Borderou de evaluare (job #2120330)
Borderou de evaluare (job #2120330)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(vf[s[j]] == 0) {
^
user.cpp:21:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
++vf[s[j++]];
^
user.cpp:30:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(vf[s[i]] == 1) {
^
user.cpp:33:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
--vf[s[i++]];
^
user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("teatru.in", "r", stdin);
^
user.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("teatru.out", "w", stdout);
^
user.cpp:12:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &z, &c);
^
user.cpp:13:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 756kb | OK | 10 |
2 | 0ms | 808kb | OK | 10 |
3 | 0ms | 872kb | OK | 10 |
4 | 0ms | 756kb | OK | 10 |
5 | 0ms | 872kb | OK | 10 |
6 | 0ms | 860kb | OK | 10 |
7 | 4ms | 936kb | OK | 10 |
8 | 0ms | 792kb | OK | 10 |
9 | 4ms | 756kb | OK | 10 |
10 | 4ms | 860kb | OK | 10 |
Punctaj total | 100 |