Pagini recente » Borderou de evaluare (job #2525557) | Borderou de evaluare (job #2349404) | Borderou de evaluare (job #1070650) | Borderou de evaluare (job #1003322) | Borderou de evaluare (job #1388203)
Borderou de evaluare (job #1388203)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
last[i][sir[i]] = i;
^
user.cpp:41:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
j = last[j - 1][curr[pos --]];
^
user.cpp:12:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("mesaj2.in", "r", stdin);
^
user.cpp:13:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("mesaj2.out", "w", stdout);
^
user.cpp:15:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (sir + 1);
^
user.cpp:28:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &N);
^
user.cpp:33:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (curr + 1);
^
/tmp/ccIFtFce.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 | 288kb | OK | 10 |
2 | 0ms | 312kb | OK | 10 |
3 | 0ms | 420kb | OK | 10 |
4 | 8ms | 568kb | OK | 10 |
5 | 32ms | 628kb | OK | 10 |
6 | 24ms | 672kb | OK | 10 |
7 | 36ms | 776kb | OK | 10 |
8 | 44ms | 772kb | OK | 10 |
9 | Depăşit | 772kb | Time limit exceeded. | 0 |
10 | Depăşit | 768kb | Time limit exceeded. | 0 |
Punctaj total | 80 |