Pagini recente » Borderou de evaluare (job #1783152) | Borderou de evaluare (job #2859239) | Borderou de evaluare (job #793235) | Borderou de evaluare (job #2032596) | Borderou de evaluare (job #2267415)
Borderou de evaluare (job #2267415)
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:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("vmin", "r", stdin);
^
main.cpp:72:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("vmin", "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 | 702ms | 4583kb | Time limit exceeded | 0 |
2 | 702ms | 4706kb | Time limit exceeded | 0 |
3 | 703ms | 4583kb | Time limit exceeded | 0 |
4 | 701ms | 4702kb | Time limit exceeded | 0 |
5 | 701ms | 4435kb | Time limit exceeded | 0 |
6 | 704ms | 4435kb | Time limit exceeded | 0 |
7 | 703ms | 4579kb | Time limit exceeded | 0 |
8 | 701ms | 4571kb | Time limit exceeded | 0 |
9 | 703ms | 4571kb | Time limit exceeded | 0 |
10 | 704ms | 4718kb | Time limit exceeded | 0 |
Punctaj total | 0 |