题解列表
简单的a+b (C语言代码)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; int b; while("%d %d",&a,&b)!=EOF) ……
妹子杀手的故事 (C语言代码)
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int a,b; while(scanf("%d %d",&a,&b) == 2 && a){ print……
C语言程序设计教程(第三版)课后习题9.2 (C++代码)
摘要:解题思路:注意事项:直接设变量取模参考代码:#include<cstdio>
#include<stdio.h>
int main()
{
int a,b,c;\\c变量取模
scanf("……
金明的预算方案 (C++代码)
摘要:解题思路:注意事项:参考代码:#include <iostream>#include <cstdio>#include <stdio.h>#include <algorithm>#include <v……
C语言程序设计教程(第三版)课后习题10.3 (Java代码)
摘要:解题思路:Java字符串的简单应用注意事项:参考代码:import java.util.Scanner;public class Main{ public static void main(Strin……
蓝桥杯算法提高VIP-找素数 (C++代码)
摘要:解题思路: 请看 1790。参考代码:#include<bits/stdc++.h>
using namespace std;
typedef long long LL;
bo……
鸡兔同笼-题解(C++代码)
摘要:利用二元一次方程组求解
设鸡为x,兔为y
x+y=s
2x+4y=80
x=s-y
2(s-y)+4y=80
2s+2y=80
y=(80-2s)/2
x=s-y
```cpp……
字符串的输入输出处理-题解(C语言代码)
摘要:题目:
第一行是一个正整数N,最大为100。之后是多行字符串(行数大于N), 每一行字符串可能含有空格,字符数不超过1000。
先将输入中的前N行字符串(可能含有空格)原样输出,再将余下的字符串(……
蓝桥杯2019年第十届真题-外卖店优先级-题解(C++代码)
摘要:会超时,这里记录,是防止以后再看,忘记思路
```cpp
#include
#include
using namespace std;
typedef struct Node{
……