Pagini recente » Borderou de evaluare (job #2525977) | Borderou de evaluare (job #884255) | Borderou de evaluare (job #1548578) | Borderou de evaluare (job #2304952) | Borderou de evaluare (job #3181735)
Borderou de evaluare (job #3181735)
Raport evaluator
Compilare:
main.cpp: In function 'bool comp(std::pair<int, int>, std::pair<int, int>)':
main.cpp:68:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
68 | if (a.second == b.second)
| ^
main.cpp: In function 'void buildLogs()':
main.cpp:35:17: warning: iteration 32001 invokes undefined behavior [-Waggressive-loop-optimizations]
35 | logs[i] = logs[i/2] + 1;
| ~~~~~~~~^~~~~~~~~~~~~~~
main.cpp:34:20: note: within this loop
34 | for (int i=1; i<=M_MAX; ++i)
| ^
main.cpp: In function 'int main()':
main.cpp:112:38: warning: 'b' may be used uninitialized [-Wmaybe-uninitialized]
112 | out << rez << ' ' << a << ' ' << b;
| ^
main.cpp:103:21: note: 'b' was declared here
103 | int rez = 0, a, b;
| ^
main.cpp:112:31: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized]
112 | out << rez << ' ' << a << ' ' << b;
| ^~~
main.cpp:103:18: note: 'a' was declared here
103 | int rez = 0, a, b;
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Incorect | 0 |
2 | 0ms | 303kb | Incorect | 0 |
3 | 0ms | 557kb | OK | 10 |
4 | 451ms | 9953kb | Time limit exceeded | 0 |
5 | 3ms | 557kb | Incorect | 0 |
6 | 451ms | 10502kb | Time limit exceeded | 0 |
7 | 450ms | 11915kb | Time limit exceeded | 0 |
8 | 451ms | 11268kb | Time limit exceeded | 0 |
9 | 450ms | 11403kb | Time limit exceeded | 0 |
10 | 451ms | 11436kb | Time limit exceeded | 0 |
Punctaj total | 10 |