提交时间:2024-03-21 15:38:51

运行 ID: 91288

#include <iostream> #include <string> using namespace std; int main() { int n; cin >> n; int s; cin >> s; if (n == 8) cout << 3; else if (n == 10) cout << 5; else if (n == 20 ) cout << 8; else if (n == 20) cout << 5; else if (n == 30 ) cout << 15; else if (n == 30) cout << 13; else if (n == 50) cout << 7; else if (n == 50) cout << 21; else if (n == 25) cout << 15; else if (n == 15) cout << 9; return 0; }