Pagini recente » Borderou de evaluare (job #1330217) | Borderou de evaluare (job #2757193) | Borderou de evaluare (job #3118611) | Borderou de evaluare (job #2972717) | Borderou de evaluare (job #2251531)
Borderou de evaluare (job #2251531)
Raport evaluator
Compilare:
user.cpp: In function ‘int binarySearch(std::vector<int>&, int)’:
user.cpp:29:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(best + (1<<step) < v.size() && v[best + (1<<step)] <= value) best += (1<<step);
~~~~~~~~~~~~~~~~~^~~~~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:52:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sum2.in", "r", stdin);freopen("sum2.out", "w", stdout);
^
user.cpp:52:68: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sum2.in", "r", stdin);freopen("sum2.out", "w", stdout);
^
user.cpp:54:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &l, &u);
^
user.cpp:58:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1344kb | OK | 10 |
2 | 0ms | 1344kb | OK | 10 |
3 | 4ms | 1424kb | OK | 10 |
4 | 8ms | 1468kb | OK | 10 |
5 | 12ms | 1500kb | OK | 10 |
6 | 16ms | 1536kb | OK | 10 |
7 | 20ms | 1584kb | OK | 10 |
8 | 24ms | 1628kb | OK | 10 |
9 | 28ms | 1668kb | OK | 10 |
10 | 32ms | 1732kb | OK | 10 |
Punctaj total | 100 |