Pagini recente »
Borderou de evaluare (job #290952)
|
Borderou de evaluare (job #695690)
|
Borderou de evaluare (job #38618)
|
Borderou de evaluare (job #701728)
|
Borderou de evaluare (job #720139)
Borderou de evaluare (job #720139)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:23:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
23 | for(int i=0;i<s.size();i++)
| ~^~~~~~~~~
main.cpp:26:19: warning: array subscript has type 'char' [-Wchar-subscripts]
26 | if(val[s[i]]==0)
| ^
main.cpp:28:20: warning: array subscript has type 'char' [-Wchar-subscripts]
28 | val[s[i]]=v[poz];
| ^
main.cpp:34:27: warning: array subscript has type 'char' [-Wchar-subscripts]
34 | nrk[pozk]=val[s[i]];
| ^
main.cpp:44:23: warning: array subscript has type 'char' [-Wchar-subscripts]
44 | int x=val[s[i]]*(i+1)+t;
| ^
main.cpp:12:19: warning: unused variable 'sum' [-Wunused-variable]
12 | int n,m,poz=0,sum,cnt=0,pozk=0,pozrez=0;
| ^~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
241 kb
|
OK
|
10
|
3
|
1 ms
|
245 kb
|
OK
|
10
|
4
|
1 ms
|
245 kb
|
OK
|
10
|
5
|
1 ms
|
245 kb
|
OK
|
10
|
6
|
1 ms
|
245 kb
|
OK
|
10
|
7
|
2 ms
|
245 kb
|
OK
|
10
|
8
|
1 ms
|
245 kb
|
OK
|
10
|
9
|
8 ms
|
233 kb
|
OK
|
10
|
10
|
1 ms
|
241 kb
|
OK
|
10
|
Punctaj total
|
100
|