输出 Hello World! 超简单 摘要:解题思路:没什么技巧,注意输出格式注意事项:格式参考代码:#include<stdio.h>int main(){ printf("**************************\n");…… 题解列表 2022年07月07日 0 点赞 0 评论 527 浏览 评分:9.9
while 连续输入值(简单的a+b) 摘要:解题思路:使用while 语句输入的小技巧注意事项:注意连续输入参考代码:#include<stdio.h>int main(){ int a,b,t; while(scanf("%d %…… 题解列表 2022年07月07日 0 点赞 0 评论 650 浏览 评分:9.9
2554———————交点 摘要: a,b = map(float,input().split()) c,d = map(float,input().split()) x = (d-b)/(a-c) …… 题解列表 2022年07月07日 0 点赞 0 评论 513 浏览 评分:0.0
2239: 蓝桥杯算法训练-动态数组使用(vector) 摘要:解题思路:c++的stl里面提供了动态数组,在头文件#include <vector>中,vector<int>p;//创建动态数组pp.push_back(k);//依次在p中放入值p.size()…… 题解列表 2022年07月07日 0 点赞 0 评论 483 浏览 评分:9.9
2629——————数学题 摘要:注意事项: pow() 方法返回 x,y(x 的 y 次方) 的值。参考代码:p,m = map(int,input().split())…… 题解列表 2022年07月07日 0 点赞 0 评论 393 浏览 评分:9.9
1953: 三位数分解 摘要:解题思路:慢慢分!注意事项:参考代码:#include<iostream> using namespace std; int main() { int a,b,c,d; ci…… 题解列表 2022年07月07日 0 点赞 0 评论 527 浏览 评分:7.3
1029: [编程入门]自定义函数处理素数 摘要:解题思路: 如果能被别的数整除,则输出not prime,并结束;循环做完后,若没有输出not prime,则它是素数,所以输出prime。注意事项: 注意第一个return 0;参考代码:#incl…… 题解列表 2022年07月07日 0 点赞 5 评论 529 浏览 评分:9.9
1033: [编程入门]自定义函数之字符提取 摘要:解题思路: 查到“a,e,i,o,u”就输出注意事项: 无参考代码:#include <iostream> #include <cstring> using namespace std; int…… 题解列表 2022年07月07日 0 点赞 0 评论 400 浏览 评分:9.0
水仙花判断(C语言) 摘要:```c #include int main() { int i, save_one, save_two, save_three; for(i = 100; i < 1000…… 题解列表 2022年07月07日 0 点赞 0 评论 398 浏览 评分:9.9
穿越雷区 BFS解法 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; const int N = 101; bool vis[N][N] =…… 题解列表 2022年07月07日 0 点赞 0 评论 350 浏览 评分:0.0