- Owner
- Bogdan Tudor Alex
- Problem
- Ten
- Contest
- MindCoding 2017 Round 4 Bitdefender (Div. 1)
- Source
- 0.38KB
- Result
- Accepted
Compiler output
prog.cpp: In function 'int main()': prog.cpp:9:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<s.size();++i)a[i+1]=s[i]-'a'+1; ^ prog.cpp:10:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=1;i<=s.size();++i)a[i]+=a[i-1]; ^ prog.cpp:12:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=11;i<=s.size();++i) ^
Results
Test number Result Time 1 Ok 0.3814s 2 Ok 0.4005s 3 Ok 0.3816s 4 Ok 0.3846s 5 Ok 0.3909s 6 Ok 0.3982s 7 Ok 0.3883s 8 Ok 0.4059s 9 Ok 0.3785s 10 Ok 0.3883s