1001: [编程入门]第一个HelloWorld程序(Java) 摘要:```java //第一个程序,开始你的编程生涯吧!!! public class Main { public static void main(String[] args) { Syste…… 题解列表 2024年12月11日 4 点赞 0 评论 1808 浏览 评分:10.0
编写题解 1000: [竞赛入门]简单的a+b(Java版本) 摘要:```java //第一个程序,开始你的竞赛生涯吧!!!```java public class Main { public static void main(String[] args) { …… 题解列表 2024年12月11日 1 点赞 0 评论 1543 浏览 评分:0.0
下次一定好好看题再回答A+B for Input-Output Practice (V) 摘要:#include<stdio.h>int main(){ int n,d,m; scanf("%d",&n); for(int i=0; i<n; i++) { …… 题解列表 2024年12月11日 0 点赞 0 评论 224 浏览 评分:0.0
A+B for Input-Output Practice (I) 摘要:#include<stdio.h>int main(){ long long a,b; while(scanf("%lld %lld",&a,&b)!=EOF) { p…… 题解列表 2024年12月11日 0 点赞 0 评论 344 浏览 评分:0.0
新手 入口增长问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i; double x; scanf("%lf %d",&x,&n); fo…… 题解列表 2024年12月11日 0 点赞 0 评论 218 浏览 评分:0.0
新手 与指定数字相同的数的个数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,m,a,i,k=0; scanf("%d %d",&n,&m); for(i=0;…… 题解列表 2024年12月11日 0 点赞 0 评论 207 浏览 评分:0.0
入门报数问题 C++ 解题 摘要:解题思路: 严格按照题目要求,用数组模拟m个人,逐一报数,遇到已报过3的人就跳过,报到3后再从1重头报数,直到只剩最后一人。注意事项: i%=m,以保证报数的人不超过m范围,count%=3,以保证报…… 题解列表 2024年12月10日 5 点赞 0 评论 493 浏览 评分:10.0
蓝桥杯基础练习VIP-FJ的字符串 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h>int main(){ int n = 0; scanf(…… 题解列表 2024年12月10日 0 点赞 0 评论 209 浏览 评分:10.0
全部遍历后再输出-1 摘要:解题思路:注意cout出-1的位置,如果是在if下面,即意味着单次判断无x即直接-1,而实际上应该是全部遍历后再判断。注意事项:参考代码:#include<iostream> using names…… 题解列表 2024年12月10日 0 点赞 0 评论 158 浏览 评分:0.0
求最值索引,定指标max/j,在循环中不断替换 摘要:解题思路:求最值索引,定指标max/j,在循环中不断替换。输出记得索引+1。注意事项:参考代码:#include<iostream> using namespace std; int main()…… 题解列表 2024年12月10日 2 点赞 0 评论 251 浏览 评分:0.0