QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#594683 | #9256. Quantum Supremacy | 3un_larryfunc | Compile Error | / | / | C++20 | 275b | 2024-09-28 09:39:38 | 2024-09-28 09:39:38 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int main()’: answer.code:2:230: error: ‘elsecout’ was not declared in this scope 2 | using namespace std;typedef long long ll;const int N=2e6+10,mod=998244353;const ll inf=1e18;const int M=1e8+10;ll n,a,b;signed main(){cin>>n>>a>>b;__int128 nn=n,aa=a,bb=b;ll len=0;while(a<=b){a*=2;len++;}if(len>n) cout<<-1<<endl;elsecout<<len<<endl;} | ^~~~~~~~