敲七游戏C++(没对的进来) 摘要:解题思路:不对的99%都是漏了带有7的数字首先是7的倍数,n%7就可以得出;个位:只有7且恰好是7的倍数;十位:x7、7x(以下x均表示任意1-9) x7可以求末尾就行n%10=…… 题解列表 2022年05月10日 0 点赞 0 评论 1350 浏览 评分:6.8
敲七游戏 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){int num1(int m);int num2(int m); //函数声明 int num3(int m…… 题解列表 2019年01月20日 0 点赞 0 评论 1388 浏览 评分:2.0
敲七游戏(暴力求解,简单明了) 摘要:解题思路:注意事项:参考代码:#include<vector>#include<iostream>#include<string>#include<algorithm>#include<cmath>#…… 题解列表 2022年02月04日 0 点赞 0 评论 276 浏览 评分:0.0
编写题解 1223: 敲七游戏 摘要:解题思路:注意事项:参考代码:n=int(input()) s=0 for i in range(7,n+1): if i%7==0 or '7' in str(i): …… 题解列表 2022年02月24日 0 点赞 0 评论 300 浏览 评分:0.0
敲七游戏 (Java代码) 摘要:解题思路:注意事项:参考代码: import java.util.Scanner; public class C1223 { public static void main(String[…… 题解列表 2018年03月19日 1 点赞 0 评论 896 浏览 评分:0.0
没啥亮点,正常思路.. 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,i,j,cnt=0; scanf("%d",&n); for(i=7;i<=n;…… 题解列表 2022年04月22日 0 点赞 0 评论 185 浏览 评分:0.0
敲七游戏 (C语言代码) 摘要:#include <stdio.h>int main(){ int i,j,N; int count=0,flag=0; scanf("%d",&N); for(i=7…… 题解列表 2018年02月27日 0 点赞 3 评论 674 浏览 评分:0.0
敲七游戏 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(void){ int i,n,m,digit,count=0; scanf("%d",&n); f…… 题解列表 2017年12月01日 0 点赞 0 评论 1174 浏览 评分:0.0
敲七游戏,统计于七有关的数的总数 摘要:解题思路:用for输出n以内的数,再拿每一个对7求余,符合条件则记一次。再用while循环统计不能用7整除,但是含有7的数注意事项:用while循环时,符号条件的记得跳出,不然一个数会记好几次;参考代…… 题解列表 2021年09月13日 0 点赞 0 评论 472 浏览 评分:0.0