题解列表
2835:计算书费(最经典的方法)
摘要:解题思路:给每一本书的数量定义一个变量注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(int argc, char *argv[]) {……
奇怪的电梯(lift) dfs 楼上解法都太low了
摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h"
using namespace std;
// 定义全局变量
int n, a, b, k[210], kkk[21……
编写题解 1227: 日期排序
摘要: #include
struct a
{
int a;
int b;
int c;
};
int main()
……
查找特定值(简单易懂!!!)
摘要:解题思路:注意事项:参考代码:#includeint main(){ int n,i,x; int count=0; int a[10000]; scanf("%d",&n);……
基因相关性(简单易懂)
摘要:解题思路:注意事项:注意sum和n的类型。参考代码:#include<stdio.h>#include<string.h>int main(){ int i; double n,j,k; ……
1267: A+B Problem题解
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; cout<<a+b……
编写题解 1000: [竞赛入门]简单的a+b
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b) ……
编写题解 1008: [编程入门]成绩评定
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std; int main(){ int x; cin >> x; char sco……