题解列表

筛选

字符串编码

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

宏定义之闰年判断

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define LEAP_YEAP(y) ((y%4==0&&y%100!=0)||(y%400==0))?L:Nint main(){……

阶乘求和(数组)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ long long int n,sn=0; scanf("%lld", &n); long long int a……

ikun崩溃代码

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,c,z; scanf("%d %d %d",&a,&b,&c); z=a+(c-1)*(b……

完数的判断

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,t=0; scanf("%d", &n); for (t = 2; t < n; t++) { i……

十进制转二进制

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

ikun崩溃代码

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n; scanf("%d",&n); if(n%2>0) { printf("odd",n); } ……

ikun崩溃代码

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n; scanf("%d",&n); if(n>=0) { if(n>0) { printf(……