题解列表
c代码记录之字符串的查找删除
摘要: #include
#include
int main()
{
char a[1000],b[1000],c[1000],temp;
……
c代码记录之蛇形矩阵
摘要: #include
int main()
{
int n,k,i,j,t,m;
while(~scanf("%d",&n)){
……
暴力求解———C语言
摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char a[3][30],b[30],c[30]; int i; fo……
set的做法,通俗易懂
摘要:```
#include
#include
#include
#include
#include
using namespace std;
const int N =1000;
int……
最简洁易懂代码,(用一个队列来维护)
摘要:```
#include
#include
#include
#include
#include
#include
#include
#include
#include
using……
编写题解 2772: 苹果和虫子
摘要:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double n,x,y; cin >>n>>x>>y; y……
题解 1480: 模拟计算器
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b; char c; cin……
3001: 整数的和
摘要:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,c,r; cin >>a>>b>>c; r=……
1783: 星期判断机(不用switch)
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a; cin>>a;if(a==0) ……