Pagini recente » Borderou de evaluare (job #3199674) | Borderou de evaluare (job #1495675)
Borderou de evaluare (job #1495675)
Raport evaluator
Compilare:
user.cpp: In function ‘int caut_bin(long long unsigned int, int)’:
user.cpp:20:55: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(p + i <= aux[poz][0] && aux[poz][p + i] <= val){
^
user.cpp: In function ‘int main()’:
user.cpp:58:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d" , &T);
^
user.cpp: In function ‘int solve(long long int)’:
user.cpp:81:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 5 ; putere(2 , i) <= val ; ++i) {
^
user.cpp:83:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(putere(x , i) <= val) {
^
user.cpp:89:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 2 ; putere(2 , i) <= val ; ++i) {
^
user.cpp:92:61: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = i * 2 ; j <= 64 && putere(2 , j) <= val ; j += i) {
^
user.cpp:99:61: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = i * 2 ; j <= 64 && putere(2 , j) <= val ; j += i) {
^
user.cpp: In function ‘int main()’:
user.cpp:55:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("puteri4.in" , "r" , stdin);
^
user.cpp:58:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &T);
^
user.cpp:61:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld" , &x , &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 32ms | 8504kb | OK | 5 |
2 | 32ms | 8504kb | OK | 5 |
3 | 32ms | 8508kb | OK | 5 |
4 | 32ms | 8512kb | OK | 5 |
5 | 32ms | 8504kb | OK | 5 |
6 | 32ms | 8508kb | OK | 5 |
7 | 32ms | 8508kb | OK | 5 |
8 | 32ms | 8504kb | OK | 5 |
9 | 32ms | 8508kb | OK | 5 |
10 | 32ms | 8508kb | OK | 5 |
11 | 32ms | 8504kb | OK | 5 |
12 | 36ms | 8504kb | OK | 5 |
13 | 36ms | 8508kb | OK | 5 |
14 | 36ms | 8504kb | OK | 5 |
15 | 36ms | 8504kb | OK | 5 |
16 | 36ms | 8504kb | OK | 5 |
17 | 44ms | 8504kb | OK | 5 |
18 | 44ms | 8504kb | OK | 5 |
19 | 60ms | 8508kb | Incorect | 0 |
20 | 60ms | 8512kb | Incorect | 0 |
Punctaj total | 90 |