Instantly share code, notes, and snippets.

Embed
What would you like to do?
AtCoder ABC #037 A. 饅頭 [C++]
#include <algorithm>
#include <iostream>
#include <string>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << c / min({a, b}) << endl;
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment