Pagini recente » Borderou de evaluare (job #945385) | Borderou de evaluare (job #331476) | Borderou de evaluare (job #219839) | Borderou de evaluare (job #2500773) | Borderou de evaluare (job #3353183)
Borderou de evaluare (job #3353183)
Raport evaluator
Compilare:
main.cpp: In function 'int rasp(long long int, long long int, int)':
main.cpp:13:33: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
13 | for(int i = 0; i < (1 << ap + 1); i++)
| ~~~^~~
main.cpp:20:33: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
20 | if((i >> j) & 1 == 1)
| ~~^~~~
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 'int main()' at main.cpp:74:13:
/usr/include/c++/12.2.1/ostream:202:25: warning: 'ras' may be used uninitialized [-Wmaybe-uninitialized]
202 | { return _M_insert(__n); }
| ~~~~~~~~~^~~~~
main.cpp: In function 'int main()':
main.cpp:35:35: note: 'ras' was declared here
35 | long long st, dr, mij, n, cn, ras;
| ^~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | Incorect | 0 |
| 2 | 0ms | 303kb | OK | 10 |
| 3 | 0ms | 303kb | Incorect | 0 |
| 4 | 0ms | 303kb | Incorect | 0 |
| 5 | 0ms | 303kb | Incorect | 0 |
| 6 | 0ms | 303kb | Incorect | 0 |
| 7 | 0ms | 303kb | Incorect | 0 |
| 8 | 0ms | 303kb | Incorect | 0 |
| 9 | 0ms | 303kb | Incorect | 0 |
| 10 | 1ms | 303kb | Incorect | 0 |
| Punctaj total | 10 |