羅者——Java语言 1776: [编程入门]原码求补码 摘要:[原题链接](http://https://www.dotcpp.com/oj/problem1776.html "原题链接") 我用的是String转String数组再转int数组并输出 …… 题解列表 2021年08月11日 0 点赞 0 评论 751 浏览 评分:0.0
简单代码易理解 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ printf("**************************\n"); printf("Hello W…… 题解列表 2021年08月11日 0 点赞 0 评论 503 浏览 评分:0.0
简单代码易理解 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a; scanf("%d",&a); printf("0%o %d 0x%x\n",a,a,a); r…… 题解列表 2021年08月11日 0 点赞 0 评论 450 浏览 评分:0.0
简单代码易理解 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ float r,s,p=3.1415926; scanf("%f",&r); s=p*r*r; printf(…… 题解列表 2021年08月11日 0 点赞 0 评论 456 浏览 评分:0.0
简单代码易理解 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b; scanf("%d %d",&a,&b); printf("%d",a*a+b*b); re…… 题解列表 2021年08月11日 0 点赞 0 评论 394 浏览 评分:0.0
简单代码易理解 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,C,S; scanf("%d %d",&a,&b); printf("C:%d\nS:%d",…… 题解列表 2021年08月11日 0 点赞 0 评论 626 浏览 评分:0.0
简单代码易理解 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ float a,b; scanf("%f",&a); b=50+0.4*a; printf("%.1f",b)…… 题解列表 2021年08月11日 0 点赞 0 评论 500 浏览 评分:0.0
简单代码易理解 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ printf(" * \n"); printf(" * * \n"); printf("*****\n")…… 题解列表 2021年08月11日 0 点赞 0 评论 396 浏览 评分:0.0
6666666666阿萨德 摘要:解题思路:注意事项:参考代码:// ConsoleApplication1.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include <iostream>#i…… 题解列表 2021年08月11日 0 点赞 0 评论 557 浏览 评分:0.0
链表报数问题 C++,stl-list 解题思路:有n个人围成一圈,顺序从1开始排号。从第1个人开始报数(从1到3报数),凡报到3的人退出圈子,(之后再从一数到三),问最后留下的是原来第几号的那位。要求用循环链表实现。这里的想法和题目中描述基本一致,就是将链表中报3的人弹出。至于如何让他们围成一圈,则将不报3的放到链表的末尾。 题解列表 2021年08月12日 0 点赞 0 评论 713 浏览 评分:0.0