题解列表
编写题解 3029: 逆波兰表达式
摘要:inver = input().split()
inver = inver[::-1]
def arithmetic(inver):
if inver:
alphabe……
括弧匹配检验,栈栈栈
摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h"
using namespace std;
// 定义一个字符栈,用于存储括号
stack<char> st;
in……
有点意思,结尾的puts和printf的区别
摘要:解题思路:注意事项:参考代码:#include<stdio.h>void GetReal(char a[]){ printf("please input a number:\n"); gets(a);……
找第一个只出现一次的字符(C语言)(简单)
摘要: #include
#include
int main()
{
char a[100000];
gets(a);
int y =……
无限套娃,嵌套嵌套再嵌套
摘要:解题思路:无限套娃注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main() { int n,i,j,s,sum,p; scanf("%d",&……
字符串匹配问题(strs),写吐了呀
摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h"
using namespace std;
// 定义一个字符数组,包含所有括号和尖括号的符号
char ss[10]……
EZ,不收徒我是c语言大佬
摘要:解题思可以背下单词,才能更好的写出,这种高级程序注意事项:参考代码:#include"stdio.h" int main(){ printf("Hello World!"\n); r……