Pagini recente » Borderou de evaluare (job #1394297) | Borderou de evaluare (job #1194517) | Borderou de evaluare (job #1767685) | Borderou de evaluare (job #302117) | Borderou de evaluare (job #3042403)
Borderou de evaluare (job #3042403)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:6:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
6 | for(cin>>n,l=1;l<n;m=(l+n)/2,cout<<"? "<<m<<'\n',cout.flush(),cin>>x,x?n=m:l=m+1);
| ^~~
main.cpp:7:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
7 | return cout<<"! "<<l,cout.flush(),0;
| ^~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | OK | 10 |
2 | 0ms | 303kb | OK | 10 |
3 | 0ms | 303kb | OK | 10 |
4 | 0ms | 303kb | OK | 10 |
5 | 0ms | 303kb | OK | 10 |
6 | 0ms | 303kb | OK | 10 |
7 | 0ms | 303kb | OK | 10 |
8 | 0ms | 303kb | OK | 10 |
9 | 0ms | 303kb | OK | 10 |
10 | 0ms | 303kb | OK | 10 |
Punctaj total | 100 |