![](https://img-blog.csdnimg.cn/20190918140012416.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
OpenJudge
文章平均质量分 54
OpenJudge相关的题库整理
Mo*◑
这个作者很懒,什么都没留下…
展开
-
【全】程序设计与算法(一)期末考试(2021夏季)
01:分段函数 #include <iostream> #include <iomanip> using namespace std; int main() { float x, y; cin >> x; if (x >= 0 && x < 5) y = -x + 2.5; else if (x >= 5 && x < 10) y = 2 - 1.5 * (x - 3) * (x - 3); el原创 2021-09-05 14:09:21 · 358 阅读 · 0 评论 -
【全】程序设计与算法(一)测验汇总(2021夏季)
001:输出第二个整数 #include <cstdio> #include <iostream> using namespace std; int main() { int a, b, c; scanf("%d %d %d", &a, &b, &c); printf("%d", b); return 0; } 002:字符菱形 #include <iostream> using namespace std; int main() {原创 2021-09-04 21:24:14 · 1100 阅读 · 1 评论