Pagini recente » Borderou de evaluare (job #3246215) | Borderou de evaluare (job #2720674) | Borderou de evaluare (job #1371407) | Borderou de evaluare (job #3241843) | Borderou de evaluare (job #2335361)
Borderou de evaluare (job #2335361)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:25:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i < B.size()) {
~~^~~~~~~~~~
main.cpp:30:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = pow2 - 1; j >= 0 && i < B.size(); --j) {
~~^~~~~~~~~~
main.cpp:31:22: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
if ((x & (1 << j) > 0 && (B[i] - '0') == 1) || ((x & (1 << j)) == 0 && B[i] - '0' == 0)) {
~~~~~~~~~^~~
main.cpp:42:17: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
system("PAUSE");
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 262kb | OK | 5 |
2 | 3ms | 249kb | Incorect | 0 |
3 | 3ms | 262kb | Incorect | 0 |
4 | 3ms | 245kb | Incorect | 0 |
5 | 8ms | 524kb | Incorect | 0 |
6 | 8ms | 524kb | Incorect | 0 |
7 | 8ms | 524kb | Incorect | 0 |
8 | 49ms | 1437kb | Incorect | 0 |
9 | 51ms | 1437kb | Incorect | 0 |
10 | 52ms | 1437kb | Incorect | 0 |
11 | 3ms | 249kb | OK | 5 |
12 | 3ms | 249kb | Incorect | 0 |
13 | 3ms | 249kb | Incorect | 0 |
14 | 52ms | 1437kb | Incorect | 0 |
15 | 48ms | 1437kb | Incorect | 0 |
16 | 100ms | 2355kb | Incorect | 0 |
17 | 213ms | 8646kb | Incorect | 0 |
18 | 231ms | 8646kb | Incorect | 0 |
19 | 208ms | 8646kb | Incorect | 0 |
20 | 226ms | 8646kb | Incorect | 0 |
Punctaj total | 10 |