Pagini recente » Borderou de evaluare (job #1142185) | Borderou de evaluare (job #2119618) | Borderou de evaluare (job #1363248) | Borderou de evaluare (job #2092256) | Borderou de evaluare (job #2574117)
Borderou de evaluare (job #2574117)
Raport evaluator
Compilare:
main.cpp: In function 'bool verifsubsir(int, int)':
main.cpp:11:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (b<s[i].size()&&c<s[j].size())
~^~~~~~~~~~~~
main.cpp:11:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (b<s[i].size()&&c<s[j].size())
~^~~~~~~~~~~~
main.cpp:16:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (b==s[i].size())
~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:35:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (s[i].size()>mn) {mn=s[i].size();t=s[i];}
~~~~~~~~~~~^~~
main.cpp:36:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if (s[i].size()==mn&&t<s[i]) s[i]=t;
~~~~~~~~~~~^~~~
main.cpp:50:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (j=i+1;j<=n;j++)
^~~
main.cpp:55:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
if (k==0) {nr++;a[i]=1;}
^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 5ms | 524kb | OK. | 5 | 20 |
2 | 6ms | 655kb | OK. | 5 |
3 | 2ms | 131kb | OK. | 5 |
4 | 3ms | 262kb | OK. | 5 |
5 | 3ms | 131kb | OK. | 3 | 3 |
6 | 49ms | 524kb | Numar de siruri incorect. | 0 | 0 |
7 | 3ms | 131kb | OK. | 3 | 3 |
8 | 64ms | 655kb | OK. | 3 | 3 |
9 | 72ms | 1441kb | Numar de siruri incorect. | 0 | 0 |
10 | 181ms | 1048kb | OK. | 4 | 4 |
11 | 418ms | 1966kb | Numar de siruri incorect. | 0 | 0 |
12 | 152ms | 1179kb | Numar de siruri incorect. | 0 | 0 |
13 | 171ms | 1179kb | Numar de siruri incorect. | 0 | 0 |
14 | 174ms | 1310kb | OK. | 5 | 5 |
15 | 124ms | 1179kb | Numar de siruri incorect. | 0 | 0 |
16 | 432ms | 1572kb | Numar de siruri incorect. | 0 | 0 |
17 | 345ms | 1572kb | Numar de siruri incorect. | 0 | 0 |
18 | 221ms | 1966kb | Numar de siruri incorect. | 0 | 0 |
19 | 221ms | 1966kb | Numar de siruri incorect. | 0 | 0 |
20 | 884ms | 2228kb | Numar de siruri incorect. | 0 | 0 |
21 | 899ms | 2228kb | Numar de siruri incorect. | 0 | 0 |
22 | 263ms | 1966kb | OK. | 6 | 6 |
Punctaj total | 44 |