Borderou de evaluare (job #2607854)

Utilizator theo2003Theodor Negrescu theo2003 Data 30 aprilie 2020 12:03:56
Problema Produs Status done
Runda mereuafectatemotional Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'bool divisible(int)': main.cpp:15:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(start < bignr.size()){ ~~~~~~^~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:62:100: warning: narrowing conversion of '(i + ((long int)y))' from 'long int' to 'int' inside { } [-Wnarrowing] int test[] = {*primes.lower_bound(max(x, 7)), *(--primes.upper_bound(y + i)), x, i + y, (x + i + y)/2}; ~~^~~ main.cpp:62:116: warning: narrowing conversion of '(((((long int)x) + i) + ((long int)y)) / 2l)' from 'long int' to 'int' inside { } [-Wnarrowing] int test[] = {*primes.lower_bound(max(x, 7)), *(--primes.upper_bound(y + i)), x, i + y, (x + i + y)/2}; ~~~~~~~~~~~^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
116ms2228kbOK10
221ms2359kbOK10
323ms2228kbOK10
447ms2359kbOK10
5149ms2359kbOK10
6156ms2359kbOK10
7190ms2359kbOK10
8178ms2490kbOK10
9195ms2359kbOK10
10253ms2359kbOK10
Punctaj total100

Ceva nu functioneaza?