Pagini recente » Borderou de evaluare (job #1285550) | Borderou de evaluare (job #1633637) | Borderou de evaluare (job #1481055) | Borderou de evaluare (job #1560232) | Borderou de evaluare (job #2717017)
Borderou de evaluare (job #2717017)
Raport evaluator
Compilare:
main.cpp: In function 'int binarySearch(long long int, const std::vector<long long int>&)':
main.cpp:8:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i + step < v.size() && v[i + step] <= value)
~~~~~~~~~^~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:42:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (pos + 1 < powers.size() && powers[pos + 1] - x < x - power)
~~~~~~~~^~~~~~~~~~~~~~~
main.cpp:23:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%lld", &n, &m);
^
main.cpp:37:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%lld", &x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Incorect | 0 |
| 2 | 2ms | 131kb | Incorect | 0 |
| 3 | 2ms | 131kb | Incorect | 0 |
| 4 | 2ms | 131kb | Incorect | 0 |
| 5 | 2ms | 131kb | Incorect | 0 |
| 6 | 3ms | 131kb | Incorect | 0 |
| 7 | 3ms | 131kb | Incorect | 0 |
| 8 | 6ms | 131kb | Incorect | 0 |
| 9 | 6ms | 131kb | Incorect | 0 |
| 10 | 6ms | 131kb | Incorect | 0 |
| 11 | 6ms | 131kb | Incorect | 0 |
| 12 | 7ms | 131kb | Incorect | 0 |
| 13 | 7ms | 131kb | Incorect | 0 |
| 14 | 10ms | 262kb | OK | 5 |
| 15 | 8ms | 262kb | OK | 5 |
| 16 | 8ms | 262kb | Incorect | 0 |
| 17 | 18ms | 782kb | OK | 5 |
| 18 | 53ms | 2347kb | OK | 5 |
| 19 | 444ms | 17014kb | Incorect | 0 |
| 20 | 435ms | 17014kb | Incorect | 0 |
| Punctaj total | 20 |