题解列表

筛选

校门外的树 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int L,M,i,a,b,s[10001],count=0; scanf("%d %d",&L,&M); fo……

琪露诺的编程教室(C++代码)

摘要:解题思路:幻想乡中,对月份的记载沿用了古代的说法,具体如下。1月:睦月(むつき Mutsuki)2月:如月(きさらぎ Kisaragi)3月:弥生(やよい Yayoi)4月:卯月(うづき Udzuki……

琪露诺的编程教室 (C++代码)

摘要:解题思路:“上海xx,上海xx,最大粉店,八百万辣鸡粉店倒闭了!王八蛋老板秋生吃喝嫖赌,欠下了450个亿,带着他的红白跑了。我们没有办法,只能拿着工资换辣鸡粉。原价都是800的辣鸡粉,通通12450块……

【亲和数】 (C语言代码)

摘要:解题思路:注意事项:参考别人写的代码做了些修改感觉比上一个更简约。参考代码:#include<stdio.h>#define uint unsigned intuint add(uint x);int……

【亲和数】 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define uint unsigned intuint add(uint x);int main(){  uint a,i,j;  ……

我美吗!

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

我美吗!

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

DNA (C语言代码)

摘要:解题思路:简单粗暴 直接先做一个X 再用复制行数的方法给出带重复次数的图案 最后加一个输出次数就好注意事项:参考代码:#include <stdio.h>#include <string.h>#inc……