![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
OJ
yong_zi
你一点都不优秀,请不要膨胀。
展开
-
java期末考试(OJ)
import java.util.*;public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int data[] = new int[10]; String s = sc.nextLine();...原创 2018-11-09 10:23:24 · 1090 阅读 · 0 评论 -
问题 1004: 母牛的故事
题目描述有一头母牛,它每年年初生一头小母牛。每头小母牛从第四个年头开始,每年年初也生一头小母牛。请编程实现在第n年的时候,共有多少头母牛?输入输入数据由多个测试实例组成,每个测试实例占一行,包括一个整数n(0<n<55),n的含义如题目中描述。n=0表示输入数据的结束,不做处理。输出对于每个测试实例,输出在第n年的时候母牛的数量。每个输出占一行。样例输入...原创 2019-01-26 21:02:10 · 245 阅读 · 1 评论 -
问题 1083: Hello, world!
题目描述This is the first problem for test. Since all we know the ASCII code, your job is simple: Input numbers and output corresponding messages.输入The input will contain a list of positive integers...原创 2019-01-28 09:54:44 · 566 阅读 · 0 评论