题解列表
编写题解 2857: 加密的病历单
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[828]; int i,len;gets(a); ……
清晰明了,用long long int解决阶乘数过大的问题
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ long long int n,i,sum=0,t=1; scanf("%lld",&n); ……
信息学奥赛一本通T1178-成绩排序 结构体
摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h"
using namespace std;
// 定义结构体s,包含一个字符串k和一个整数j
struct s{
……
a+b so easy [竞赛入门]简单的a+b
摘要:```cpp
#include
using namespace std;
int main(){
int a,b;
while(cin>>a>>b)cout……
最小新整数贪心c++
摘要://贪心:每次遍历使高位的数越小越划算
```cpp
#include
using namespace std;
int main(){
int a,n,c;
str……
陶陶摘苹果(新手也能看懂)
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int count=0; int arr[10]; for(int i=0;i<10;i++) { scan……
完数的判断(C++)
摘要:解题思路:双重for循环注意事项:sum每循环一轮重新归零注意变量的适用范围以上为本人敲代码时发生的错误,共勉!参考代码:#include<iostream>using namespace std;i……
编写题解 1116: IP判断
摘要:```cpp
#include
#include
#include
using namespace std;
bool judge(string str)
{
string st……