2877: 同行列对角线的格子 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n; scanf("%d", &n);//n*n int i, j; scanf("%d %d", …… 题解列表 2023年01月28日 0 点赞 0 评论 244 浏览 评分:0.0
同行列对角线的格子 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ //同行列对角线的格子 int n; scanf("%d", &n);//n*n形式的矩阵(从1开始) i…… 题解列表 2023年01月28日 0 点赞 0 评论 387 浏览 评分:0.0
编写题解 2263: 蓝桥杯2015年第六届真题-饮料换购 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main1 { public static void main(String[] arg…… 题解列表 2023年01月28日 0 点赞 0 评论 184 浏览 评分:0.0
自定义函数之整数处理 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i = 0,j=0,num=0,max=0,min=0; int a[10]; for (i = 0; …… 题解列表 2023年01月29日 0 点赞 0 评论 156 浏览 评分:0.0
表达式括号匹配(stack) 栈的基本应用 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;stack<char>ver;//存放'(' 如果遇到 ')…… 题解列表 2023年01月29日 0 点赞 0 评论 344 浏览 评分:0.0
]自定义函数之数字后移 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d", &n); int i = 0; int m = 0; int a[100]…… 题解列表 2023年01月29日 0 点赞 0 评论 308 浏览 评分:0.0
字符排列问题 摘要:解题思路:注意事项:参考代码:方法一:直接全排列再去重from itertools import permutationstry: while True: a=input() …… 题解列表 2023年01月29日 0 点赞 0 评论 163 浏览 评分:0.0
二分法,求阶乘 摘要:解题思路:通过规律发现:5!-> end 0 number is 110-> end 0 number is 215->end 0 number is 3…………注意事项:参考代码:import os…… 题解列表 2023年01月29日 0 点赞 0 评论 504 浏览 评分:0.0
ikun崩溃代码 摘要:解题思路:注意事项:参考代码:# include <stdio.h>int main(){ int f; float c; scanf("%d",&f); c =(f-32)…… 题解列表 2023年01月30日 0 点赞 0 评论 168 浏览 评分:0.0
C语言训练-角谷猜想(水题) 摘要:```c #include int main(){ int n,i,m; scanf("%d",&n); do{ if(n%2==0){ printf("%d/2=…… 题解列表 2023年01月30日 0 点赞 0 评论 236 浏览 评分:0.0