题解 3008: 买笔 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int x; cin>>x; if(x%…… 题解列表 2024年01月07日 0 点赞 0 评论 87 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, category[3] = { 0 }; scanf("%d", &n); wh…… 题解列表 2023年06月23日 0 点赞 0 评论 167 浏览 评分:0.0
略麻烦但很易懂! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,i=0,j=0,k=0,m=0,z,p,c; scanf("%d",&x); for(i=0;6*i…… 题解列表 2023年11月07日 0 点赞 0 评论 145 浏览 评分:0.0
买笔--java语言 摘要:解题思路:①导入②分析 根据题意 共有四种情况符合条件:(班费:x) x/4有余数时: x/4余数为1时:x%4=1 此时 买4元的笔减一支加上这一元 可以买…… 题解列表 2023年12月12日 0 点赞 0 评论 151 浏览 评分:0.0