Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
101568 梁乃元 换零钱2 C++ 解答错误 0 0 MS 236 KB 272 2023-09-09 10:45:54

Tests(0/10):


#include <iostream> #include <cstdio> using namespace std ; int a [21] ; int main ( ) { int t ; cin >> t ; t -= 16 ; if ( t == 0 ) { cout << 1 << endl ; return 0 ; } int temp = t / 5 ; int s = temp / 2 + 1 ; cout << s << endl ; return 0 ; }


测评信息: