提交时间:2026-07-04 15:43:02

运行 ID: 75565

#include <iostream> using namespace std; int main() { int n; cin >> n; int count = 0; for (int x = 0; x * 10 <= n; x++) { for (int y = 0; x * 10 + y * 5 <= n; y++) { count++; } } cout << count << endl; return 0; }