{"description":"if \u6587\u3092\u4f7f\u3063\u3066\u3082\u3044\u3044\u3057\u3001\u95a2\u6570 max() \u3092\u4f7f\u3063\u3066\u3082\u3088\u3044\u3002 \u554f\u984c\u3078\u306e\u30ea\u30f3\u30af \u554f\u984c\u6982\u8981 \u6574\u6570 \u304c\u4e0e\u3048\u3089\u308c\u308b\u3002 \u306a\u3089\u3070 \u3092\u51fa\u529b\u305b\u3088 \u306a\u3089\u3070 0 \u3092\u51fa\u529b\u305b\u3088 \u89e3\u6cd5 (1)\uff1aif \u6587 if \u6587\u3092\u7528\u3044\u3066\u3001 \u3067\u3042\u308b\u304b\u3069\u3046\u304b\u3092\u5224\u5b9a\u3057\u3066\u3001\u51e6\u7406\u3092\u5206\u3051\u3088\u3046\u3002 #include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if (x >= 0) cout << x << endl; else cout << 0 << endl; } \u89e3\u6cd5 (2)\uff1a\u95a2\u6570 max() \u306e\u5024\u304c\u8ca0\u306b\u306a\u308b\u90e8\u5206\u306f 0 \u306b\u3059\u308c\u3070\u3088\u3044\u304b\u3089\u3001max(x, 0\u2026","blog_url":"https://drken1215.hatenablog.com/","title":"AtCoder ABC 183 A - ReLU (9Q, \u7070\u8272, 100 \u70b9)","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdrken1215.hatenablog.com%2Fentry%2F2024%2F03%2F15%2F232252\" title=\"AtCoder ABC 183 A - ReLU (9Q, \u7070\u8272, 100 \u70b9) - \u3051\u3093\u3061\u3087\u3093\u306e\u7af6\u30d7\u30ed\u7cbe\u9032\u8a18\u9332\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","author_url":"https://blog.hatena.ne.jp/drken1215/","author_name":"drken1215","url":"https://drken1215.hatenablog.com/entry/2024/03/15/232252","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/80936665/1687765056723440","categories":["max(0,K)\u51e6\u7406","\u95a2\u6570max()","if\u6587","\u30c6\u30fc\u30de\u306b\u30b9\u30c8\u30fc\u30ea\u30fc\u6027\u306e\u3042\u308b\u9762\u767d\u3044\u554f\u984c","1\u500b\u306e\u6574\u6570\u306e\u5165\u529b\u3092\u6271\u3046\u6613\u3057\u3044\u554f\u984c","\u6613\u3057\u3044\u6a19\u6e96\u5165\u51fa\u529b\u554f\u984c","AtCoder","AtCoder100\u70b9","ABC-A","\u7070\u8272diff","\u7b97\u6570\u3068\u6570\u5b66","\u6613\u3057\u3044\u7b97\u6570\u3068\u6570\u5b66","\u7b97\u6570\u3068\u6570\u5b66:\u6587\u5b57\u5f0f","NoviSteps9Q"],"type":"rich","height":"190","blog_title":"\u3051\u3093\u3061\u3087\u3093\u306e\u7af6\u30d7\u30ed\u7cbe\u9032\u8a18\u9332","published":"2024-03-15 23:22:52","width":"100%"}