- js27106 的博客
s
- @ 2025-11-23 14:37:55
#include using namespace std;
int main() { float a; double b; cout<<sizeof(a)<<" "<<sizeof(b)<<endl; return 0; }
#include <bits/stdc++.h> using namespace std;
int main(){ double r,d,c,s; double pi=3.14159; cin>>r; d=2r; c=2pir; s=pir*r; cout<<fixed<<setprecision(4)<<d<<" "<<c<<' '<<s<<endl; return 0; }
#include using namespace std;
int main() { int a; short b; cout<<sizeof(a)<<" "<<sizeof(b)<<endl; return 0; }