QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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.
詳細信息
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;} | ^~~~~~~~