结构体之成绩记录(简单易懂) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct student { char num[10]; char name[20]; int a; i…… 题解列表 2023年01月31日 0 点赞 0 评论 375 浏览 评分:0.0
基础的筛选n内素数 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;bool is_prim(int i){ bool ans=true; for(i…… 题解列表 2023年01月31日 0 点赞 0 评论 383 浏览 评分:0.0
字符串编码 摘要:解题思路:注意事项:参考代码:#include <iostream>#include<string>using namespace std;int main() { string s; cin >> …… 题解列表 2023年02月01日 0 点赞 0 评论 450 浏览 评分:0.0
宏定义之闰年判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define LEAP_YEAP(y) ((y%4==0&&y%100!=0)||(y%400==0))?L:Nint main(){…… 题解列表 2023年02月01日 0 点赞 0 评论 370 浏览 评分:0.0
1778————罗列完美数 摘要: import java.util.Scanner; public class Main { public static void main(String[] …… 题解列表 2023年02月01日 0 点赞 0 评论 421 浏览 评分:0.0
阶乘求和(数组) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ long long int n,sn=0; scanf("%lld", &n); long long int a…… 题解列表 2023年02月01日 0 点赞 0 评论 332 浏览 评分:0.0
1780————字符与它对应的ASC码 摘要: char a = scanner.next().charAt(0); System.out.println((int)a); cha…… 题解列表 2023年02月01日 0 点赞 0 评论 604 浏览 评分:0.0
ikun崩溃代码 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,c,z; scanf("%d %d %d",&a,&b,&c); z=a+(c-1)*(b…… 题解列表 2023年02月01日 0 点赞 0 评论 446 浏览 评分:0.0
完数的判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,t=0; scanf("%d", &n); for (t = 2; t < n; t++) { i…… 题解列表 2023年02月01日 0 点赞 0 评论 316 浏览 评分:0.0
十进制转二进制 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;#include<stack>stack<char> s;int main(){ int…… 题解列表 2023年02月01日 0 点赞 0 评论 435 浏览 评分:0.0