Pagini recente » Borderou de evaluare (job #3180311) | Borderou de evaluare (job #2083868) | Borderou de evaluare (job #2904639) | Borderou de evaluare (job #292338) | Borderou de evaluare (job #1196608)
Borderou de evaluare (job #1196608)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
A[x[i]] = max (A[x[i]], B[j] + 1);
^
user.cpp:26:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
A[x[i]] = max (A[x[i]], B[j] + 1);
^
user.cpp:28:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
B[x[i]] = max (B[x[i]], A[j] + 1);
^
user.cpp:28:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
B[x[i]] = max (B[x[i]], A[j] + 1);
^
user.cpp:15:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("palalila2.in", "r", stdin);
^
user.cpp:16:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("palalila2.out", "w", stdout);
^
user.cpp:18:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (x + 1);
^
/tmp/cc4Awf9S.o: In function `main':
user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 236kb | OK | 10 |
2 | 0ms | 236kb | OK | 10 |
3 | 0ms | 240kb | OK | 10 |
4 | 0ms | 236kb | OK | 10 |
5 | 0ms | 236kb | OK | 10 |
6 | 0ms | 248kb | OK | 10 |
7 | 20ms | 336kb | OK | 10 |
8 | 76ms | 572kb | OK | 10 |
9 | 108ms | 720kb | OK | 10 |
10 | 108ms | 724kb | OK | 10 |
Punctaj total | 100 |