Pagini recente » Borderou de evaluare (job #2327617) | Borderou de evaluare (job #1420155) | Borderou de evaluare (job #2777836) | Borderou de evaluare (job #3133976) | Borderou de evaluare (job #2261239)
Borderou de evaluare (job #2261239)
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:147:15: warning: statement has no effect [-Wunused-value]
cout.fixed;
^
main.cpp: In function 'void solve()':
main.cpp:96:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:99:45: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &p[i].first, &p[i].second);
^
main.cpp: In function 'int main()':
main.cpp:7:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
#define FO(x) {freopen(#x".in","r",stdin);freopen(#x".out","w",stdout);}
^
main.cpp:137:5: note: in expansion of macro 'FO'
FO(poligon7);
^~
main.cpp:7:71: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
#define FO(x) {freopen(#x".in","r",stdin);freopen(#x".out","w",stdout);}
^
main.cpp:137:5: note: in expansion of macro 'FO'
FO(poligon7);
^~
main.cpp:149:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &o);
^
main.cpp:151:20: 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 | 2ms | 262kb | Corect | 4 |
2 | 2ms | 262kb | Corect | 1 |
3 | 2ms | 262kb | Corect | 4 |
4 | 2ms | 262kb | Corect | 1 |
5 | 2ms | 262kb | Corect | 4 |
6 | 2ms | 262kb | Corect | 1 |
7 | 4ms | 262kb | Corect | 4 |
8 | 4ms | 262kb | Corect | 1 |
9 | 4ms | 262kb | Corect | 4 |
10 | 4ms | 262kb | Corect | 1 |
11 | 4ms | 262kb | Corect | 4 |
12 | 4ms | 262kb | Corect | 1 |
13 | 9ms | 393kb | Corect | 4 |
14 | 9ms | 393kb | Corect | 1 |
15 | 7ms | 393kb | Corect | 4 |
16 | 7ms | 393kb | Corect | 1 |
17 | 10ms | 393kb | Corect | 4 |
18 | 10ms | 393kb | Corect | 1 |
19 | 169ms | 3633kb | Corect | 4 |
20 | 169ms | 3629kb | Corect | 1 |
21 | 199ms | 3981kb | Corect | 4 |
22 | 198ms | 3981kb | Corect | 1 |
23 | 165ms | 3407kb | Corect | 4 |
24 | 165ms | 3436kb | Corect | 1 |
25 | 1203ms | 57454kb | Time limit exceeded | 0 |
26 | 1204ms | 57589kb | Time limit exceeded | 0 |
27 | 1203ms | 57049kb | Time limit exceeded | 0 |
28 | 1200ms | 57180kb | Time limit exceeded | 0 |
29 | 1203ms | 58347kb | Time limit exceeded | 0 |
30 | 1204ms | 58466kb | Time limit exceeded | 0 |
31 | 1204ms | 58355kb | Time limit exceeded | 0 |
32 | 1200ms | 58466kb | Time limit exceeded | 0 |
33 | 1200ms | 57282kb | Time limit exceeded | 0 |
34 | 1204ms | 57438kb | Time limit exceeded | 0 |
35 | 1204ms | 57307kb | Time limit exceeded | 0 |
36 | 1204ms | 57421kb | Time limit exceeded | 0 |
37 | 1203ms | 56655kb | Time limit exceeded | 0 |
38 | 1204ms | 56774kb | Time limit exceeded | 0 |
39 | 1203ms | 57278kb | Time limit exceeded | 0 |
40 | 1203ms | 57425kb | Time limit exceeded | 0 |
Punctaj total | 60 |