Pagini recente » Borderou de evaluare (job #1316561) | Borderou de evaluare (job #1507566) | Borderou de evaluare (job #719303) | Borderou de evaluare (job #2188043) | Borderou de evaluare (job #3258296)
Borderou de evaluare (job #3258296)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:57:21: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized]
57 | int x, b1, b2;
| ^
In function 'void update(int, int)',
inlined from 'int main()' at main.cpp:59:23:
main.cpp:10:18: warning: 'b2' may be used uninitialized [-Wmaybe-uninitialized]
10 | for(; p<=n; p+=(p&-p))
| ~^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:57:28: note: 'b2' was declared here
57 | int x, b1, b2;
| ^~
In function 'void update(int, int)',
inlined from 'int main()' at main.cpp:58:23:
main.cpp:10:18: warning: 'b1' may be used uninitialized [-Wmaybe-uninitialized]
10 | for(; p<=n; p+=(p&-p))
| ~^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:57:24: note: 'b1' was declared here
57 | int x, b1, b2;
| ^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Fisier de iesire lipsa | 0 |
Punctaj total | 0 |