题解列表
数据结构-行编辑程序 栈传统解法
摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h"
using namespace std;
int main(){
// 定义两个字符栈,q用于存储输入的字符……
编写题解 2831: 画矩形
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;const int N=2e5……
1068: 二级C语言-温度转换
摘要:解题思路:注意事项:参考代码:def ctof(c): f = 32 + c * 9 / 5 return ffor i in range(-100……
不使用数组,利用getchar函数进行解题
摘要:#######includeint main(){ int a=0,b=0,c=0,d=0; char ch; while((ch=getchar())!='\n') { ……
C++简单写法--------------------------------------
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ float a; &……
1023c++超简单方法(set)
摘要:解题思路:利用c++的set的特性进行排序,但是本题需要保存重复数据,故使用multiset参考代码:#include <iostream>#include<set>using……