Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
50555 | 逸凡 | 天问一号 | C++ | Accepted | 1 MS | 236 KB | 228 | 2024-08-30 18:27:29 |
#include<bits/stdc++.h> using namespace std; int main(){ int v; cin>>v; if(v==0){ cout<<4; } if(v>0&&v<=10){ cout<<3; } if(v>=10&&v<=100){ cout<<2; } if(v>=100&&v<700){ cout<<1; } return 0; }