From 460b5ebd2e3f6e8f2b8f97354ed9fea06d74937f Mon Sep 17 00:00:00 2001 From: YS <2904972168@qq.com> Date: Thu, 4 Jul 2024 21:11:02 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=AD=E8=A8=80=E5=85=A5=E9=97=A8/=E8=AF=AD?= =?UTF-8?q?=E8=A8=80=E5=85=A5=E9=97=A8=E7=AB=A0=E8=8A=82=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 语言入门/语言入门/B3792.cpp | 10 ++++++++++ 语言入门/语言入门/B3893.cpp | 9 +++++++++ 语言入门/语言入门/B3894.cpp | 12 ++++++++++++ 语言入门/语言入门/readme.md | 1 + 4 files changed, 32 insertions(+) create mode 100644 语言入门/语言入门/B3792.cpp create mode 100644 语言入门/语言入门/B3893.cpp create mode 100644 语言入门/语言入门/B3894.cpp create mode 100644 语言入门/语言入门/readme.md diff --git a/语言入门/语言入门/B3792.cpp b/语言入门/语言入门/B3792.cpp new file mode 100644 index 0000000..e3107f7 --- /dev/null +++ b/语言入门/语言入门/B3792.cpp @@ -0,0 +1,10 @@ +#include +using namespace std; +int main() +{ + int a,b,c; + cin>>a>>b>>c; + cout< +using namespace std; +int main() +{ + int a,b; + cin>>a>>b; + cout< +using namespace std; +int main() +{ + double a,b,c,d; + cin>>a>>b>>c>>d; + double s = a*b+c*d; + double v = s/(b+d); + printf("%.1f\n",s); + printf("%.1f",v); + return 0; +} \ No newline at end of file diff --git a/语言入门/语言入门/readme.md b/语言入门/语言入门/readme.md new file mode 100644 index 0000000..1c49909 --- /dev/null +++ b/语言入门/语言入门/readme.md @@ -0,0 +1 @@ +题目全部完成 \ No newline at end of file