Pagini recente » Borderou de evaluare (job #2965703) | Borderou de evaluare (job #2905757) | Borderou de evaluare (job #2694221) | Borderou de evaluare (job #3206409) | Borderou de evaluare (job #2251356)
Borderou de evaluare (job #2251356)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:23: 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:28:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<s.length(); ++i) {
~^~~~~~~~~~~
user.cpp:31:12: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for (char c = 'a'; c<='z'; ++c)
^~~
user.cpp:45:13: 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:45:29: 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 | 88ms | 1568kb | OK | 100 |
Punctaj total | 100 |