题解列表

筛选

2817: 级数求和

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() {     int n;     int pos=0; ……

好写》好写

摘要:参考代码:#include<iostream> using namespace std; int main() { cout << sizeof(bool) << " " << sizeof(c……

好写》好写

摘要:参考代码:#include<iostream> using namespace std; int main() {   cout << sizeof(float) << " " << sizeo……

2818: 分离整数的各个数位

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() {     string str;     cin>>st……

好写》好写

摘要:参考代码:#include<iostream> using namespace std; int main() {   cout << sizeof(int) << " " << sizeof(……

好写》好写

摘要:参考代码:#include<iostream> using namespace std; int main() {   double x;     cin >> x;     printf(……

好写》好写

摘要:参考代码:#include<iostream> #include<stdio.h> using namespace std; int main() {   float x;     cin ……

好写》好写

摘要:参考代码:#include<iostream> using namespace std; int main() {   int n;     cin >> n;     while(n--)……

好写》好写

摘要:参考代码:#include<iostream> using namespace std; int main() {     int a,b;     while(cin>>a>>b)cout……

好写》好写

摘要:参考代码:#include<iostream> using namespace std; int main() {   int n;     while(cin >> n)     {   ……