题解列表

筛选

数字整除 (C++代码)(大数除法)

摘要:解题思路:        这里不需要算出来结果,除到最后一位的时候判断是不是 17 的倍数就行了参考代码:#include<bits/stdc++.h> using namespace std; ……

程序员的表白 (C++代码)

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

简单编码 (C++代码)

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

大神老白 (C语言代码)

摘要:解题思路:直接运用绝对值函数转化。注意事项:参考代码:#include <stdio.h>#include<math.h>int main (){ int n,i,a,sum=0; while(sca……