int 整形 4字节
1tb = 1024gb
1gb = 1024mb
1mb = 1024kb
1kb = 1024b b(byte,字节)
1b = 8bit (只有1 / 0)
-32768 ~ 32767
.htm
.htm
#include<iostream>
#include<iomanip>
using namespace std;
int main(){float a;cin>>a;cout<<fixed << setprecision(3) << a <<endl;return 0;}
#include<iostream>
#include<iomanip>
using namespace std;
int main(){int x;cin>>x;int a;cin>>a;int y;cin>>y;int b;cin>>b;double z;z=1.0*(b*y-a*x)/(b-a);cout<<fixed << setprecision(2) << z <<endl;return 0;}
#include<iostream>
using namespace std;
int main()
{char a;cin>>a;cout<<' '<<' '<<a<<endl;cout<<' '<<a<<a<<a<<endl;cout<<a<<a<<a<<a<<a<<endl;cout<<' '<<a<<a<<a<<endl;cout<<' '<<' '<<a<<endl;return 0;}
本文发布于:2024-01-30 02:23:53,感谢您对本站的认可!
本文链接:https://www.4u4v.net/it/170655263518565.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
留言与评论(共有 0 条评论) |