Skip to content

Instantly share code, notes, and snippets.

@showyou
Created September 2, 2019 07:10
Show Gist options
  • Select an option

  • Save showyou/689f6609c3ef4ea9a8ce985b5eba9e93 to your computer and use it in GitHub Desktop.

Select an option

Save showyou/689f6609c3ef4ea9a8ce985b5eba9e93 to your computer and use it in GitHub Desktop.
maxの引数
#include <iostream>
int main(){
int x = 1;
int ans = 0;
ans = std::max(x, ans);
std::cout << ans << std::endl;
}
@showyou
Copy link
Author

showyou commented Sep 2, 2019

result
1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment