Pagini recente » Borderou de evaluare (job #1729281) | Borderou de evaluare (job #1965990) | Borderou de evaluare (job #1176876) | Borderou de evaluare (job #1508284) | Borderou de evaluare (job #1336150)
Borderou de evaluare (job #1336150)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:49:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
last[i][s[i]] = i;
^
user.cpp:67:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
poz = last[poz][t[j]];
^
user.cpp:38:37: 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:39:39: 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:41:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s + 1);
^
user.cpp:52:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q);
^
user.cpp:56:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", t + 1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 468kb | OK | 10 |
2 | 0ms | 500kb | OK | 10 |
3 | 0ms | 592kb | OK | 10 |
4 | 8ms | 744kb | OK | 10 |
5 | 32ms | 800kb | OK | 10 |
6 | 20ms | 848kb | OK | 10 |
7 | 32ms | 948kb | OK | 10 |
8 | 44ms | 948kb | OK | 10 |
9 | Depăşit | 932kb | Time limit exceeded. | 0 |
10 | Depăşit | 928kb | Time limit exceeded. | 0 |
Punctaj total | 80 |