题解列表

筛选

vhgnghlkjhgfdsdfftghjkl;lkjhgfrde

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    double h,w,b;    cout<<"体重……

单词统计(小心些数组的空间)

摘要:解题思路:注意题目说单词可重叠,那就以卷子每个元素都为开头一次,往后遍历比较一次注意事项:参考代码:#include<stdio.h> int main() { int n; scanf(……

买笔买笔30083008

摘要:解题思路:#include <iostream>using namespace std;int main(int argc, char** argv){int x,y,a,b,c;cin>>x;c=x……

3008: 买笔 买个鸡脖

摘要:解题思路:注意事项:需要想到多种可能参考代码:#include <bits/stdc++.h>using namespace std;int main(){    int x;    cin>>x; ……

星期判断机1783

摘要:解题思路:#include <bits/stdc++.h>using namespace std;int main(){    int a;    cin>>a;    switch(a){    c……

C语言填鸭型

摘要:解题思路:检查左括号右括号是否配对注意事项:参考代码:#include"stdio.h"int main(){ char p[500]; memset(p,0,500); int i,j = 0; i……

编写题解 3040: An Easy Problem

摘要:解题思路:就那样注意事项:参考代码:#include <stdio.h>#include <stdbool.h>int js(int i) {    int t = 0;    while (i > ……

一段一段来判断长度

```#include#include#include#includeusingnamespacestd;intmain(){strings,c;while(cin>>s){if(s.back()=='.')s.pop_back();if(c.size()

晶晶赴约会 2788

摘要:解题思路:#include <bits/stdc++.h>using namespace std;int main(){    int a;    cin>>a;    if(a==1||a==3||……