Pagini recente » Borderou de evaluare (job #1208194) | Borderou de evaluare (job #1428054) | Borderou de evaluare (job #53056) | Borderou de evaluare (job #2384866) | Borderou de evaluare (job #1920152)
Borderou de evaluare (job #1920152)
Raport evaluator
Compilare:
user.cpp: In function ‘int poloneza(int, char*, int*)’:
user.cpp:45:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
polo[++top1] = val[s[i]];
^
user.cpp: In function ‘int main()’:
user.cpp:75:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f1[s1[j]] = 1;
^
user.cpp:82:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f2[s2[j]] = 1;
^
user.cpp:98:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
aux[v1[j + 1]] = 1;
^
user.cpp:100:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
aux[v1[j + 1]] = 0;
^
user.cpp:64:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("logic.in", "r", stdin);
^
user.cpp:65:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("logic.out", "w", stdout);
^
user.cpp:67:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
user.cpp:69:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s1 + 1);
^
user.cpp:70:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s2 + 1);
^
/tmp/ccamy8Vt.o: In function `main':
user.cpp:(.text.startup+0x7e): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | OK | 10 |
2 | 0ms | 248kb | OK | 10 |
3 | 0ms | 252kb | OK | 10 |
4 | 0ms | 256kb | OK | 10 |
5 | 4ms | 256kb | OK | 10 |
6 | 0ms | 248kb | OK | 10 |
7 | 0ms | 252kb | OK | 10 |
8 | 0ms | 256kb | OK | 10 |
9 | 0ms | 252kb | OK | 10 |
10 | 0ms | 252kb | OK | 10 |
Punctaj total | 100 |