Borderou de evaluare (job #3042403)

Utilizator BlaugranasEnal Gemaledin Blaugranas Data 6 aprilie 2023 09:24:43
Problema Cbinteractiv Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

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
10ms303kbOK10
20ms303kbOK10
30ms303kbOK10
40ms303kbOK10
50ms303kbOK10
60ms303kbOK10
70ms303kbOK10
80ms303kbOK10
90ms303kbOK10
100ms303kbOK10
Punctaj total100

Ceva nu functioneaza?