题解列表

筛选

程序员的表白

摘要:解题思路:无注意事项:无参考代码: #include<stdio.h>int main(){    int i,j,a,m;    while(scanf("%d",&a)==1)    {     ……

1017-完数的判断 语言:C++

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

1016-水仙花数判断 语言:C++

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){        int a,b,c=3; ……

1015-求和训练

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;typedef long long LL;LL sum(int a){ LL res=0; f……