Pagini recente » Borderou de evaluare (job #1693747) | Borderou de evaluare (job #1432635) | Borderou de evaluare (job #3229492) | Borderou de evaluare (job #2114221) | Borderou de evaluare (job #2233555)
Borderou de evaluare (job #2233555)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fr[str2[i]]++;
^
user.cpp:26:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(fr[str2[i]] == 1) {
^
user.cpp:34:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fr1[str1[i]]++;
^
user.cpp:35:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(fr1[str1[i]] == fr[str1[i]]) {
^
user.cpp:35:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(fr1[str1[i]] == fr[str1[i]]) {
^
user.cpp:39:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(cur == let.size()) {
~~~~^~~~~~~~~~~~~
user.cpp:53:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nxt[i][str1[i]] = i;
^
user.cpp:59:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sp[i][str1[i]]++;
^
user.cpp:97:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < sol.size(); i++) {
~~^~~~~~~~~~~~
user.cpp:19:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d " ,&type);
^
user.cpp:20:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%s %s " ,str1 + 1,str2 + 1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1324kb | OK! | 3 |
2 | 0ms | 1332kb | OK! | 3 |
3 | 0ms | 1324kb | OK! | 3 |
4 | 0ms | 1328kb | OK! | 3 |
5 | 0ms | 1332kb | OK! | 3 |
6 | 0ms | 1332kb | OK! | 3 |
7 | 0ms | 1372kb | OK! | 3 |
8 | 0ms | 1380kb | OK! | 3 |
9 | 0ms | 3596kb | OK! | 3 |
10 | 0ms | 3600kb | OK! | 3 |
11 | 4ms | 3384kb | Wrong answer! | 0 |
12 | Depăşit | 3380kb | Time limit exceeded. | 0 |
13 | Depăşit | 3396kb | Time limit exceeded. | 0 |
14 | Depăşit | 3428kb | Time limit exceeded. | 0 |
15 | Depăşit | 3436kb | Time limit exceeded. | 0 |
16 | 4ms | 3488kb | OK! | 5 |
17 | Depăşit | 4440kb | Time limit exceeded. | 0 |
18 | 8ms | 4456kb | OK! | 2 |
19 | 84ms | 22048kb | OK! | 2 |
20 | 44ms | 22140kb | OK! | 3 |
21 | 76ms | 22248kb | OK! | 4 |
22 | Depăşit | 22248kb | Time limit exceeded. | 0 |
23 | 64ms | 22244kb | OK! | 4 |
24 | 64ms | 22244kb | OK! | 4 |
25 | Depăşit | 22248kb | Time limit exceeded. | 0 |
26 | 60ms | 22136kb | OK! | 4 |
27 | 52ms | 22144kb | OK! | 4 |
28 | 96ms | 22136kb | OK! | 4 |
29 | 56ms | 22140kb | OK! | 4 |
30 | 48ms | 22140kb | OK! | 4 |
Punctaj total | 74 |