Pagini recente » Borderou de evaluare (job #1545868) | Diferente pentru suffix-array-liniar intre reviziile 59 si 81 | Borderou de evaluare (job #502396) | Atasamentele paginii suma1 | Borderou de evaluare (job #2607854)
Borderou de evaluare (job #2607854)
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 |
| 1 | 16ms | 2228kb | OK | 10 |
| 2 | 21ms | 2359kb | OK | 10 |
| 3 | 23ms | 2228kb | OK | 10 |
| 4 | 47ms | 2359kb | OK | 10 |
| 5 | 149ms | 2359kb | OK | 10 |
| 6 | 156ms | 2359kb | OK | 10 |
| 7 | 190ms | 2359kb | OK | 10 |
| 8 | 178ms | 2490kb | OK | 10 |
| 9 | 195ms | 2359kb | OK | 10 |
| 10 | 253ms | 2359kb | OK | 10 |
| Punctaj total | 100 |