2025.7.21刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,x,y; scanf("%…… 题解列表 2025年07月21日 0 点赞 0 评论 184 浏览 评分:0.0
不废话直接秒 摘要:解题思路:floor函数向下取整注意事项:参考代码:import mathn,x,y=map(int,input().split())print(math.floor(n-1/x*y))…… 题解列表 2024年11月30日 0 点赞 0 评论 461 浏览 评分:0.0
ikun崩溃代码 摘要:解题思路:套用if函数判定小数部分舍去,不构成完整的苹果。注意事项:参考代码:#include <stdio.h>int main(){ int n,x,y,z; scanf("%d %d %d",…… 题解列表 2023年01月31日 0 点赞 0 评论 261 浏览 评分:0.0
解法有很多,多思考进步才会大 摘要:解题思路:注意事项:参考代码: int n,x,y,s,c; scanf("%d %d %d",&n,&x,&y); //如果经过y时间%吃一个苹果所需时间x==0 //证明说经过的时间刚好…… 题解列表 2023年02月27日 0 点赞 0 评论 293 浏览 评分:0.0
数学逻辑简单一点点 摘要:解题思路:首先,我们需要解决一道数学题,可以直接解题,也可以选择代具体的数字,然后把这题逻辑理清楚;然后把它用代码说出来,代码输出结果不是我们理想的结果,我们就根据结果不理想的地方再改改。注意事项:参…… 题解列表 2024年10月26日 0 点赞 0 评论 241 浏览 评分:0.0
小白编程11111 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double x,y; int n; scanf("%d %lf %lf",&n,&x,&y); printf(…… 题解列表 2024年02月02日 0 点赞 0 评论 204 浏览 评分:0.0
苹果和虫子 摘要:#include<iostream>using namespace std;int main(){ int n,z,k; double x,y,a; cin>>n>>x>>y; a=y/x; k=0;…… 题解列表 2024年03月10日 0 点赞 0 评论 301 浏览 评分:0.0
编写题解 2772: 苹果和虫子-while循环 摘要:解题思路:注意事项:参考代码:n,x,y=map(int,input().split())while y<(n*x): if y%x==0: print(n-(y//x)) …… 题解列表 2024年02月26日 0 点赞 0 评论 401 浏览 评分:0.0
编写题解 2772: 苹果和虫子 摘要:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double n,x,y; cin >>n>>x>>y; y…… 题解列表 2024年01月06日 0 点赞 0 评论 221 浏览 评分:0.0
题解 2772: 苹果和虫子 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, x, y; int a = 0; scanf("%d %d %d", &n, &x, &y); i…… 题解列表 2023年03月01日 0 点赞 0 评论 295 浏览 评分:0.0