A - おいしいたこ焼きの作り方 / AtCoderBeginnerContest #005
#include <iostream> using namespace std; void Solve(int x, int y) { cout << y/x << endl; } int main(void) { int x, y; cin >> x >> y; Solve(x,y); return 0; }
持っている小麦粉の量を必要な小麦粉の量で割り、小数点以下を切り捨てて出力。
~了~
#include <iostream> using namespace std; void Solve(int x, int y) { cout << y/x << endl; } int main(void) { int x, y; cin >> x >> y; Solve(x,y); return 0; }
持っている小麦粉の量を必要な小麦粉の量で割り、小数点以下を切り捨てて出力。
~了~