aaaaaaaaaaaaaaaaaaa 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,m; while(~scanf("%d%d",&n,&m)) …… 题解列表 2022年10月24日 0 点赞 0 评论 371 浏览 评分:0.0
作为第二个题解我也很荣幸哦嘻嘻 摘要:解题思路:gets输入字符串,然后通过比较注意事项:300+300,我直接1000,啥也不怕参考代码:#include#includeint main() { char s[1000]; …… 题解列表 2022年10月24日 0 点赞 4 评论 688 浏览 评分:9.9
C++党,字符串哈希+二分查找LCP(最长公共前缀) 摘要:解题思路:1、首先序列的变化是由于队列中出现大于m的数字取模而改变序列的字典序最小而造成的,所以在序列中没有出现取模的时候序列不会变2、确定最小字典序是通过找到最长公共序列来确定:比如101012的最…… 题解列表 2022年10月24日 0 点赞 0 评论 767 浏览 评分:8.8
A+B for Input-Output Practice (III)(怀氏c++) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(1) { …… 题解列表 2022年10月24日 0 点赞 0 评论 607 浏览 评分:9.9
作为第一个题解我很荣幸 摘要:解题思路:利用getline可以正常输入空格注意事项:注意i和i-1参考代码:c++:#include <bits/stdc++.h>using namespace std;/*inline int …… 题解列表 2022年10月24日 0 点赞 0 评论 583 浏览 评分:9.9
aaaaaaaaaaaaaaaaaaa 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n; scanf("%d",&n); while(n--) …… 题解列表 2022年10月24日 0 点赞 0 评论 367 浏览 评分:10.0
A+B for Input-Output Practice (II)(怀氏c++) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,a,b,i; cin>>n; for(i…… 题解列表 2022年10月24日 0 点赞 0 评论 871 浏览 评分:9.9
A+B for Input-Output Practice (I)(怀氏c++) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b) …… 题解列表 2022年10月24日 0 点赞 0 评论 493 浏览 评分:7.3
Hello, world!(怀氏c++) 摘要:解题思路:把数字转换成ASCI码值,就是对应的char类型值注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; …… 题解列表 2022年10月24日 0 点赞 0 评论 365 浏览 评分:9.9
二级C语言-平均值计算,罗。。。。。我写出来了 摘要:解题思路: 输入10个整数,求它们的平均值,并输出大于平均值的数据的个数看到输入10个整数,你要想到用什么来存这十个数。注意事项:参考代码:#include <stdio.h>int main(){…… 题解列表 2022年10月24日 0 点赞 1 评论 243 浏览 评分:2.0