题解列表
密码(c++),利用string
摘要:解题思路:注意事项:参考代码:#include <iostream>
#include <cstring>
using namespace std;
bool an(string s){
i……
5ms绝杀,有注释,一看就懂
摘要:解题思路:定义两个数组,一个存当前糖果数,另一个存糖果的一半注意事项:参考代码:#include<stdio.h>int main(){ int people_num,i=0,sum=0; ……
题解 3012: 分苹果
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,s=0; cin>>n; fo……
计算分数加减表达式的值
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; double s=0; ci……
感谢支持,谢谢你们的支持
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n; double p=1,q=2,s……