题解列表
编写题解 2549: 单词统计 为数不多的c++
摘要:```cpp
#include
using namespace std;
int main()
{
string s1,s2;
int n,m,i,j,cnt=0,pos=0;
c……
1733: 堆栈的使用 答案太少,凑数的
摘要:```cpp
#include
using namespace std;
int main()
{
int n;
while(cin >> n)
{
……
1402: 简单的字符串
摘要:#include<stdio.h>
#include<string.h>
int main()
{
int n,i,len;char str[10000];
scanf("%d\n",&n)……
2513: 信息学奥赛一本通T1615-序列的第 k 个数
摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;const long long M=200907;long long quickpow(lo……
1206: 字符串问题
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
int main()
{
char str[50];
gets(str);
int len=strlen(str);
fo……
题解 1144:自守数问题(C代码)
摘要:解题思路:注意事项:参考代码:#include<math.h>int Number(int i,int count);int main(){ long long sum; for (int……
1126: C语言训练-字符串正反连接
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
int main()
{
char str[50];
gets(str);
printf("%s",str);
int l……
1094: 字符串的输入输出处理
摘要:解题思路:注意事项:参考代码:#include#includeint main()
{
char str[1000],ch;
int n,i;
scanf("%d\n"……