Pagini recente » Borderou de evaluare (job #1561805) | Borderou de evaluare (job #1276422) | Borderou de evaluare (job #1520299) | Borderou de evaluare (job #1174313) | Borderou de evaluare (job #2267416)
Borderou de evaluare (job #2267416)
Raport evaluator
Compilare:
main.cpp: In function 'int binarySearch(std::vector<int>&, int)':
main.cpp:36: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);
~~~~~~~~~~~~~~~~~^~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:83:15: warning: statement has no effect [-Wunused-value]
cout.fixed;
^
main.cpp:71:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("vmin.in", "r", stdin);
^
main.cpp:72:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("vmin.out", "w", stdout);
^
main.cpp:76:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("input", "r", stdin);
^
main.cpp:86:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:89:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &v[i].a, &v[i].b);
^
main.cpp:103:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 704ms | 4591kb | Time limit exceeded | 0 |
2 | 700ms | 4460kb | Time limit exceeded | 0 |
3 | 701ms | 4698kb | Time limit exceeded | 0 |
4 | 701ms | 4567kb | Time limit exceeded | 0 |
5 | 702ms | 4583kb | Time limit exceeded | 0 |
6 | 700ms | 4591kb | Time limit exceeded | 0 |
7 | 704ms | 4718kb | Time limit exceeded | 0 |
8 | 703ms | 4579kb | Time limit exceeded | 0 |
9 | 701ms | 4435kb | Time limit exceeded | 0 |
10 | 704ms | 4714kb | Time limit exceeded | 0 |
Punctaj total | 0 |