![](https://img-blog.csdnimg.cn/20210128200755446.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
C语言OJ题
本专栏SDUST-OJ题,欢迎讨论。
Time like water
这个作者很懒,什么都没留下…
展开
-
Problem 1002:算术基本运算
Description 计算两整数x和y(0<x,y<1000)的和、差、积、商、余数、x的平方和y的三次方。 Input 输入只有一行,格式见sample。 Output 输出为多行,按顺序每行输出x,y的和、差、积、商、余数、x的平方和y的三次方,格式见sample Sample Input x = 11, y = 3 Sample Output x + y : 14 x - y : 8 x * y : 33 x / y quotient: 3, remainder: 2 x ^ 2 : 1原创 2020-11-24 19:52:32 · 631 阅读 · 0 评论 -
Problem 1001:Hello world!
Description Xiao_ming有两个哥哥,大哥叫Da_min,二哥叫Er_min。三兄弟放学回家,父母分别跟他们打招呼。 Input 无 Output 请输出: Hello Da_min, Hello Er_min, Hello Xiao_ming! Sample Input 无 Sample Output Hello Da_min, Hello Er_min, Hello Xiao_ming! HINT 请注意换行符 Append Code 无 Code 法一: #原创 2020-11-24 19:44:40 · 324 阅读 · 0 评论