摘要: #includeusing namespace std;int main (){ float a; int b; scanf("%f",&a); b=a; printf("%d",b); return 0;} 阅读全文
posted @ 2022-10-07 20:22 I'm_江河湖海 阅读(7) 评论(0) 推荐(0)
摘要: #includeusing namespace std;int main (){ bool a; char b; printf("%d %d",sizeof(a),sizeof(b)); return 0;} 阅读全文
posted @ 2022-10-07 20:22 I'm_江河湖海 阅读(12) 评论(0) 推荐(0)
摘要: #includeusing namespace std;int main (){ float a; double b; printf("%d %d",sizeof(a),sizeof(b)); return 0;} 阅读全文
posted @ 2022-10-07 20:22 I'm_江河湖海 阅读(12) 评论(0) 推荐(0)
摘要: #includeusing namespace std;int main (){ int a; short b; printf("%d %d",sizeof(a),sizeof(b)); return 0;} 阅读全文
posted @ 2022-10-07 20:22 I'm_江河湖海 阅读(36) 评论(0) 推荐(0)
摘要: #includeusing namespace std;int main(){ int a,b; cin>>a>>b; cout<<a+b; return 0; } 阅读全文
posted @ 2022-10-07 20:22 I'm_江河湖海 阅读(14) 评论(0) 推荐(0)
摘要: 某大厂提醒您:bug千万条,细心第一条。编程不规范,同事两行泪。 1379号监听员提醒您:不要加班,不要加班,不要加班! 目录 前言 一、口号在哪! 二、开始! 1.初始化 2.防止关闭 总结 前言 你需要:... 阅读全文
posted @ 2022-10-07 20:22 I'm_江河湖海 阅读(135) 评论(0) 推荐(0)
摘要: 按Ctrl+f搜索 常用 %HOMEDRIVE% =C:当前启动的系统的所在分区%SystemRoot% =C:\WINDOWS当前启动的系统的所在目录%windir% = %SystemRoot% =C:\WINDOWS当前启动的系统的所在目录%U... 阅读全文
posted @ 2022-10-07 20:22 I'm_江河湖海 阅读(102) 评论(0) 推荐(0)
摘要: #includeusing namespace std;int main(){ double x; scanf("%lf",&x); printf("%.5f", 5.0*(x-32)/9); return 0;} 阅读全文
posted @ 2022-10-07 20:22 I'm_江河湖海 阅读(18) 评论(0) 推荐(0)
摘要: #includeusing namespace std;int main(){ double x,a,b,c,d; scanf("%lf%lf%lf%lf%lf",&x,&a,&b,&c,&d); printf("%.7lf",a*(x*x*x)+b*(x*x... 阅读全文
posted @ 2022-10-07 20:22 I'm_江河湖海 阅读(9) 评论(0) 推荐(0)
摘要: #includeusing namespace std;int main(){ float a,b; scanf("%f%f",&a,&b); printf("%.3f%%",b/a*100); return 0;} 阅读全文
posted @ 2022-10-07 20:22 I'm_江河湖海 阅读(8) 评论(0) 推荐(0)