Submission #3264311
Source Code Expand
#include<bits/stdc++.h> using namespace std; int main() { int ans=0; long long x,y; cin>>x>>y; while(x<=y) ++ans,i*=2; cout<<ans<<endl; }
Submission Info
Submission Time | |
---|---|
Task | C - Multiple Gift |
User | luogu_bot5 |
Language | C++14 (GCC 5.4.1) |
Score | 0 |
Code Size | 157 Byte |
Status | CE |
Compile Error
./Main.cpp: In function ‘int main()’: ./Main.cpp:8:23: error: ‘i’ was not declared in this scope while(x<=y) ++ans,i*=2; ^