Pagini recente » Borderou de evaluare (job #438877) | Borderou de evaluare (job #1865912) | Borderou de evaluare (job #718535) | Borderou de evaluare (job #2391353) | Borderou de evaluare (job #2248503)
Borderou de evaluare (job #2248503)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<s.length(); ++i) { gf[s[i]-'a']+=1; cf[s[i]-'a']+=1; }
~^~~~~~~~~~~
user.cpp:25:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<s.length(); ++i) {
~^~~~~~~~~~~
user.cpp:28:6: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for (char c = 'a'; c<='z'; ++c)
^~~
user.cpp:42:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
if (sol.length()!=i+1) { okg=0; break; }
^~
user.cpp:42:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (sol.length()!=i+1) { okg=0; break; }
~~~~~~~~~~~~^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 28ms | 1576kb | Incorect | 0 |
Punctaj total | 0 |