- Owner
- Parth Kohli
- Problem
- Ten
- Source
- 0.96KB
- Result
- Accepted
Compiler output
prog.cpp: In function 'int main()': prog.cpp:30:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i <= len(s); i++) sc[i] = sc[i-1] + score(s[i-1]); ^ prog.cpp:33:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i <= len(s); i++) mx = max(mx, sc[i]-sc[i-min(i, 10)]); ^
Results
Test number Result Time 1 Ok 0.2735s 2 Ok 0.2738s 3 Ok 0.2728s 4 Ok 0.2731s 5 Ok 0.2731s 6 Ok 0.2736s 7 Ok 0.2735s 8 Ok 0.2728s 9 Ok 0.2737s 10 Ok 0.2725s