【題目敘述】https://zerojudge.tw/ShowProblem?problemid=d068
#include <iostream>
using namespace std;
int main() {
int w;
cin >> w;
if (w > 50) cout << w - 1 << "\n";
else cout << w << "\n";
return 0;
}
【題目敘述】https://zerojudge.tw/ShowProblem?problemid=d068
#include <iostream>
using namespace std;
int main() {
int w;
cin >> w;
if (w > 50) cout << w - 1 << "\n";
else cout << w << "\n";
return 0;
}