From 3e37187d3f9f2c0d628bba5a8c9440440a60d028 Mon Sep 17 00:00:00 2001 From: leo12025 Date: Mon, 4 Aug 2025 11:12:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=80=E5=B0=8F=E7=9A=84n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test01/main.cpp | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/test01/main.cpp b/test01/main.cpp index 79b82a9..fd1de93 100644 --- a/test01/main.cpp +++ b/test01/main.cpp @@ -1,18 +1,14 @@ #include "iostream" using namespace std; - - +//最小的n +float s=0,n=1; int main() { - int n,a; - cin >>n; - for (int i=0;i>a; - if(a%10<=4){ - cout <