一个用来水题的思路(C语言实现) 摘要:## 这是一个用来水题的思路 - 非常容易理解,毕竟有没有内存限制和运行时间的限制,我也就懒得考虑O(n)了,希望对各位道友有所帮助 - **代码如下:** ```c #include in…… 题解列表 2022年07月09日 0 点赞 0 评论 159 浏览 评分:0.0
1088——————A+B for Input-Output Practice (IV) 摘要:题目:1088: A+B for Input-Output Practice (IV) **题目描述** Your task is to Calculate the sum of some int…… 题解列表 2022年08月20日 0 点赞 0 评论 320 浏览 评分:0.0
A+B for Input-Output Practice (IV) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[100],n,i,sum; while((scanf("%d",&n)!=EOF)&&(…… 题解列表 2022年11月02日 0 点赞 0 评论 123 浏览 评分:0.0
A+B for Input-Output Practice (IV) 上才艺,新手入 摘要:解题思路:注意事项:sum每次赋初始值参考代码:#include<stdio.h>int main(){ int n,sum=0; while(scanf("%d",&n)&&n){ int a[n…… 题解列表 2022年12月19日 0 点赞 0 评论 78 浏览 评分:0.0
编写题解 1088: A+B for Input-Output Practice (IV) 摘要:解题思路:注意事项:参考代码:/*输入格式输入包含多个测试用例。每个测试用例包含一对整数 a 和 b,每行一对整数。包含 0 0 的测试用例将终止输入,并且不会处理此测试用例。 输出格式对于每对输入…… 题解列表 2022年12月26日 0 点赞 0 评论 117 浏览 评分:0.0
A+B for Input-Output Practice (IV) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int i,n=0; int a[100]={0}; while(ci…… 题解列表 2023年01月18日 0 点赞 0 评论 128 浏览 评分:0.0
A+B for Input-Output Practice (IV) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int i,n=0; int a[100]={0}; while(ci…… 题解列表 2023年01月18日 0 点赞 0 评论 94 浏览 评分:0.0
A+B for Input-Output Practice (IV)——计算数字之和 摘要:解题思路:注意事项:每行输入的第一个字母表示后面数字的个数,求和的时候不要计算的参考代码:while True: try: s=0 L = list(map(int,…… 题解列表 2023年03月17日 0 点赞 0 评论 118 浏览 评分:0.0
C语言思路简单,易懂!!! 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int n,sum=0,a; while (scanf ("%d",&n)&&n){ …… 题解列表 2023年09月24日 0 点赞 0 评论 133 浏览 评分:0.0
学英语的题,看懂题目就赢 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int n; while(~scanf("%d",&n)&&n!=0) { in…… 题解列表 2023年10月04日 0 点赞 0 评论 103 浏览 评分:0.0