Pagini recente » Borderou de evaluare (job #3037427) | Borderou de evaluare (job #1110757) | Borderou de evaluare (job #1186190) | Borderou de evaluare (job #1492305) | Borderou de evaluare (job #3042400)
Borderou de evaluare (job #3042400)
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,r=n;l<r;m=(l+r)/2,cout<<"? "<<m<<'\n',cout.flush(),cin>>n,n?r=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<<'\n',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 |