1 条题解
-
0
`
#include<bits/stdc++.h> using namespace std; int main(){ freopen("seven.in","r",stdin); freopen("seven.out","w",stdout); ios::sync_with_stdio(false); cin.tie(0); cout.tie(0); long long x; stack<int> ans; cin>>x; for(int j=1;j<=7;j++){ int mod=x%256; ans.push(mod); x/=256; } while(!ans.empty()){ cout<<ans.top()<<' '; ans.pop(); } return 0; }
- 1
信息
- ID
- 634
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 5
- 标签
- 递交数
- 23
- 已通过
- 14
- 上传者