- Owner
- Vintur Cristian
- Problem
- Words
- Contest
- MindCoding 2017 Final 2
- Source
- 0.97KB
- Result
- Accepted
Compiler output
prog.cpp: In function 'bool ok(int, int)': prog.cpp:21:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < words[p].size(); ++i) ^ prog.cpp:24:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(i - j + 1 < words[p].size() && exists(p, j, i) && (j == 0 || dp[j - 1])) ^ prog.cpp: At global scope: prog.cpp:17:20: warning: unused parameter 'n' [-Wunused-parameter] bool ok(int p, int n) ^
Results
Test number Result Time 1 Ok 0.2515s 2 Ok 0.2600s 3 Ok 0.2723s 4 Ok 0.2996s 5 Ok 0.2965s 6 Ok 0.3280s 7 Ok 0.3969s 8 Ok 0.2506s 9 Ok 0.2538s 10 Ok 0.2532s 11 Ok 0.2492s 12 Ok 0.2569s