Pagini recente » Radacina | Borderou de evaluare (job #1659407) | Borderou de evaluare (job #2467726) | Borderou de evaluare (job #2302849) | Borderou de evaluare (job #2100478)
Borderou de evaluare (job #2100478)
Raport evaluator
Compilare:
user.cpp: In function ‘int bs0(int)’:
user.cpp:30:14: warning: ‘ans’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (v[ans] == x)
^
user.cpp: In function ‘int bs1(int)’:
user.cpp:51:12: warning: ‘ans’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return ans;
^
user.cpp: In function ‘int bs2(int)’:
user.cpp:70:12: warning: ‘ans’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return ans;
^
user.cpp: In function ‘int main()’:
user.cpp:98:26: warning: ‘ans’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fout << bs2(x) << '\n';
^
user.cpp:95:26: warning: ‘ans’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fout << bs1(x) << '\n';
^
user.cpp:30:14: warning: ‘ans’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (v[ans] == x)
^
user.cpp:16:31: note: ‘ans’ was declared here
int st = 1, dr = n, mijl, ans;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 440kb | OK | 10 | 10 |
| 2 | 0ms | 440kb | OK | 10 | 10 |
| 3 | 0ms | 448kb | OK | 10 | 10 |
| 4 | 4ms | 452kb | OK | 10 | 10 |
| 5 | 24ms | 488kb | OK | 10 | 20 |
| 6 | 80ms | 648kb | OK | 10 |
| 7 | 120ms | 840kb | OK | 10 | 40 |
| 8 | 132ms | 836kb | OK | 10 |
| 9 | 128ms | 840kb | OK | 10 |
| 10 | 128ms | 840kb | OK | 10 |
| Punctaj total | 100 |