Pagini recente » Borderou de evaluare (job #1209131) | Borderou de evaluare (job #2449293) | Borderou de evaluare (job #2769206) | Borderou de evaluare (job #1372517) | Borderou de evaluare (job #1919992)
Borderou de evaluare (job #1919992)
Raport evaluator
Compilare:
user.cpp: In function ‘int poloneza(int, char*, int*)’:
user.cpp:41:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
polo[++top1] = val[s[i]];
^
user.cpp: In function ‘int main()’:
user.cpp:71:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f1[s1[j]] = 1;
^
user.cpp:78:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f2[s2[j]] = 1;
^
user.cpp:94:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
aux[v1[j + 1]] = 1;
^
user.cpp:96:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
aux[v1[j + 1]] = 0;
^
user.cpp:97:11: warning: unused variable ‘x1’ [-Wunused-variable]
int x1 = poloneza(m1, s1, aux);
^
user.cpp:98:11: warning: unused variable ‘x2’ [-Wunused-variable]
int x2 = poloneza(m2, s2, aux);
^
user.cpp:60: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:61: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:63:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
user.cpp:65:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s1 + 1);
^
user.cpp:66:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s2 + 1);
^
/tmp/ccTbrQcb.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 | 256kb | OK | 10 |
2 | 0ms | 252kb | Incorect | 0 |
3 | 0ms | 256kb | OK | 10 |
4 | 0ms | 248kb | Incorect | 0 |
5 | 8ms | 252kb | Incorect | 0 |
6 | 0ms | 252kb | Incorect | 0 |
7 | 0ms | 248kb | OK | 10 |
8 | 0ms | 256kb | Incorect | 0 |
9 | 0ms | 252kb | Incorect | 0 |
10 | 4ms | 252kb | OK | 10 |
Punctaj total | 40 |