Skip to content

Instantly share code, notes, and snippets.

@whatalnk
Last active November 17, 2016 15:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whatalnk/23d2c416afc92711710faac667c81225 to your computer and use it in GitHub Desktop.
Save whatalnk/23d2c416afc92711710faac667c81225 to your computer and use it in GitHub Desktop.
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