题解列表

筛选

成绩转换 (C语言代码)

摘要:解题思路:从上往下排除注意事项:参考代码:#include<stdio.h>int main(){ int n; while(scanf("%d", &n) != EOF) { if(n > 100……

printf基础练习2 (C语言代码)

摘要:解题思路:注意事项:有前缀方式printf("%#o",num)  //有前缀o的8进制数printf("%#x",num)  //有前缀0x的小写16进制数printf("%#X",num) //有……

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

摘要:解题思路:定义数组表示树,初始化为0,若被挖去,则赋值为1,最后统计数组中1的个数。注意事项:参考代码:#include<stdio.h>int main(){    int *a;    int l……