【求[X,Y]内被除3余1并且被除5余3的整数的和】 (Java代码)只能写这些简单题的题解 摘要:解题思路:注意事项:参考代码:import java.util.*;public class The166 {public static void main(String[]args){ Scanne…… 题解列表 2018年05月09日 4 点赞 0 评论 831 浏览 评分:0.0
【求[X,Y]内被除3余1并且被除5余3的整数的和】 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <string.h>#include<stdio.h>int main(){ int i,j,sum=0; scanf("%d%d",&i,&j); f…… 题解列表 2018年07月27日 0 点赞 0 评论 695 浏览 评分:0.0
【求[X,Y]内被除3余1并且被除5余3的整数的和】 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,count=0; scanf("%d %d",&a,&b); for(int …… 题解列表 2018年08月20日 0 点赞 0 评论 811 浏览 评分:0.0
【求[X,Y]内被除3余1并且被除5余3的整数的和】 (C++代码)(被15除余13 摘要:解题思路:被除3余1并且被除5余3,即是被15除余13注意事项:两数字交换的一个操作:x ^= y, y ^= x, x ^= y;参考代码:#include <stdio.h> int mai…… 题解列表 2018年11月17日 1 点赞 0 评论 856 浏览 评分:0.0
【求[X,Y]内被除3余1并且被除5余3的整数的和】 (C++代码)挂一个题解,求数论大佬提供简便方法 摘要:解题思路: 循环硬肛参考代码:#include<bits/stdc++.h> #define hh ios::sync_with_stdio(false),cin.tie(0),cout.ti…… 题解列表 2018年12月25日 0 点赞 0 评论 689 浏览 评分:0.0
求[X,Y]内被除3余1并且被除5余3的整数的和-题解(C++代码) 摘要:解题思路:判断 i%3==1 && i%5==3注意事项:sum+=i;记得sum的初值为0参考代码:/* */ #include <cstdio> #include <algorithm>…… 题解列表 2020年08月26日 0 点赞 0 评论 776 浏览 评分:0.0
LJ--最好的方法 摘要:解题思路:如注释所言注意事项:参考代码:#include<stdio.h>int main(){ int n,m = 0,i,j,a[1000],b[1000] = {0}; scanf(…… 题解列表 2019年02月13日 0 点赞 0 评论 789 浏览 评分:0.0
【求[X,Y]内被除3余1并且被除5余3的整数的和】 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,y,i,sum = 0; scanf("%d%d",&x,&y); for(i =…… 题解列表 2019年02月13日 0 点赞 0 评论 583 浏览 评分:0.0
【求[X,Y]内被除3余1并且被除5余3的整数的和】 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; bool fun(int n) { if (n % 3 == 1 && n % …… 题解列表 2019年04月14日 0 点赞 0 评论 781 浏览 评分:0.0
【求[X,Y]内被除3余1并且被除5余3的整数的和】 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int m,n,s=0,k,i; scanf("%d %d",&m,&n); for(i=m;i<=n;i++)…… 题解列表 2019年04月24日 0 点赞 0 评论 412 浏览 评分:0.0