题解列表
原来不难,就只有第一个单词特殊啊
摘要:#include<bits/stdc++.h>
using namespace std;
int main()
{
string s;
while(getline(cin,s))
{……
奖学金:结构体多关键字排序
摘要:解题思路:注意事项:参考代码:#include <iostream>
#include <algorithm>
using namespace std;
struct st{
int sn,……
Jam的计数法C++
摘要:解题思路: 如果字符串的第一个字母已经是最大可能的字母退出循环;否则从最后一个字母开始遍历, 如果当前字母已经是最大可能字母, 退出循环; 否则, 当前字母加 1, 该字母之后的每一个字母,依据当前……
字符串分类统计C++
摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>using namespace std;int main(){char a[200];cin.get……
编写题解 1011: [编程入门]最大公约数与最小公倍数
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int min(int a,int b){ return a>b?b:a;}int ma……
编写题解 2908: 白细胞计数
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std; const int N=310; double a[N];in……
编写题解 2907: 不与最大数相同的数字之和
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int N,a[100],sum=0,x=0; ……
编写题解 1017: [编程入门]完数的判断
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int s(int n){ int ans=0; for(int i=1;i<n;i……