QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#594683#9256. Quantum Supremacy3un_larryfuncCompile Error//C++20275b2024-09-28 09:39:382024-09-28 09:39:38

詳細信息

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;}
      |                                                                                                                                                                                                                                      ^~~~~~~~