Pagini recente » Borderou de evaluare (job #673036) | Borderou de evaluare (job #2776517) | Borderou de evaluare (job #2660237) | Borderou de evaluare (job #1598070) | Borderou de evaluare (job #3148918)
Borderou de evaluare (job #3148918)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:29:25: warning: array subscript has type 'char' [-Wchar-subscripts]
29 | for(i=0;i<n;i++)++p[s[i]],su[0][i]=s[i];
| ^
main.cpp:34:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll' {aka 'long long int'} [-Wformat=]
34 | for(i=0;i<n;i++)printf("%d ",su[0][i]);cout<<'\n';
| ~^ ~~~~~~~~
| | |
| int ll {aka long long int}
| %lld
main.cpp:34:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
34 | for(i=0;i<n;i++)printf("%d ",su[0][i]);cout<<'\n';
| ^~~
main.cpp:34:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
34 | for(i=0;i<n;i++)printf("%d ",su[0][i]);cout<<'\n';
| ^~~~
main.cpp:42:10: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
42 | {for(auto j:v[i])
| ^~~
main.cpp:43:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
43 | c[p[su[k][j]]++]=j;v[i].clear();}
| ^
main.cpp:53:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll' {aka 'long long int'} [-Wformat=]
53 | for(i=0;i<n;i++)printf("%d ",su[k+1][i]);cout<<'\n';
| ~^ ~~~~~~~~~~
| | |
| int ll {aka long long int}
| %lld
main.cpp:53:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
53 | for(i=0;i<n;i++)printf("%d ",su[k+1][i]);cout<<'\n';
| ^~~
main.cpp:53:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
53 | for(i=0;i<n;i++)printf("%d ",su[k+1][i]);cout<<'\n';
| ^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 1343kb | OK | 5 |
2 | 7ms | 2654kb | OK | 5 |
3 | 7ms | 2654kb | OK | 5 |
4 | 34ms | 8364kb | OK | 5 |
5 | 44ms | 11153kb | OK | 5 |
6 | 39ms | 11599kb | OK | 5 |
7 | 44ms | 12787kb | OK | 5 |
8 | 49ms | 11780kb | OK | 5 |
9 | 54ms | 14696kb | OK | 5 |
10 | 53ms | 14163kb | OK | 5 |
11 | 54ms | 13864kb | OK | 5 |
12 | 1ms | 1343kb | OK | 5 |
13 | 1ms | 1347kb | OK | 5 |
14 | 2ms | 1343kb | OK | 5 |
15 | 2ms | 1343kb | OK | 5 |
16 | 9ms | 3444kb | OK | 5 |
17 | 9ms | 3702kb | OK | 5 |
18 | 6ms | 2654kb | OK | 5 |
19 | 7ms | 2654kb | OK | 5 |
20 | 7ms | 2654kb | OK | 5 |
Punctaj total | 100 |