摘要: include using namespace std; int main() { int n; cin n; int t = n / 50; int sum = t 7; n %= 50; t = n / 30; sum += t 4; n %= 30; t = n / 10; sum += t; 阅读全文
posted @ 2019-08-16 18:30 归根复命 阅读(110) 评论(0) 推荐(0) 编辑
摘要: // exercise.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。 // include "pch.h" include using namespace std; struct ball { int pos;//位置 int dir;//方向,1为右 }; ball b 阅读全文
posted @ 2019-08-16 18:21 归根复命 阅读(117) 评论(0) 推荐(0) 编辑