Borderou de evaluare (job #3334600)

Utilizator GoreaRaresGorea Rares-Andrei GoreaRares Data 18 ianuarie 2026 16:46:35
Problema Nrsec Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void add(long long int)': main.cpp:21:15: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 21 | for(; pos <= normal.size(); pos += pos & -pos) | ~~~~^~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12.2.1/istream:39, from /usr/include/c++/12.2.1/sstream:38, from /usr/include/c++/12.2.1/complex:45, from /usr/include/c++/12.2.1/ccomplex:39, from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:54, from main.cpp:1: In member function 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits<char>]', inlined from 'void binarySearch()' at main.cpp:59:13: /usr/include/c++/12.2.1/ostream:202:25: warning: 'rez' may be used uninitialized [-Wmaybe-uninitialized] 202 | { return _M_insert(__n); } | ~~~~~~~~~^~~~~ main.cpp: In function 'void binarySearch()': main.cpp:51:35: note: 'rez' was declared here 51 | int l = -1e14, r = 1e14, mid, rez; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms1867kbOK10
23ms1867kbOK10
34ms1867kbOK10
419ms2392kbOK10
5231ms5222kbOK10
6370ms5349kbOK10
7227ms5185kbOK10
8267ms5259kbOK10
9267ms5193kbOK10
10371ms5177kbOK10
Punctaj total100

Ceva nu functioneaza?