2017-03-01から1日間の記事一覧
yukicoderさんの問題 No.90 品物の並び替え - yukicoder 参考書 プログラミングコンテストチャレンジブック [第2版] 難しさ(初心者目線) ・考え方* ・実装** ・面白さ* ヒント(カーソル合わせると見れます) コード #include <algorithm> #include <cstdio> #include <iostream> #include <map></map></iostream></cstdio></algorithm>…
yukicoderさんの問題 No.207 世界のなんとか - yukicoder 参考書 プログラミングコンテストチャレンジブック [第2版] 難しさ(初心者目線) ・考え方* ・実装* ・面白さ* ヒント(カーソル合わせると見れます) コード #include <algorithm> #include <cstdio> #include <iostream> #include <map></map></iostream></cstdio></algorithm>…
yukicoderさんの問題 No.7 プライムナンバーゲーム - yukicoder 参考書 プログラミングコンテストチャレンジブック [第2版] 難しさ(初心者目線) ・考え方*** ・実装*** ・面白さ*** ヒント(カーソル合わせると見れます) コード #include <algorithm> #include <cstdio> #inclu</cstdio></algorithm>…
yukicoderさんの問題 No.4 おもりと天秤 - yukicoder 参考書 プログラミングコンテストチャレンジブック [第2版] 難しさ(初心者目線) ・考え方*** ・実装*** ・面白さ** ヒント(カーソル合わせると見れます) コード #include <algorithm> #include <cstdio> #include <iostream> #includ</iostream></cstdio></algorithm>…
yukicoderさんの問題 No.45 回転寿司 - yukicoder 参考書 プログラミングコンテストチャレンジブック [第2版] 難しさ(初心者目線) ・考え方*** ・実装*** ・面白さ*** ヒント(カーソル合わせると見れます) コード #include <algorithm> #include <cstdio> #include <iostream> #include <map></map></iostream></cstdio></algorithm>…
POJの問題を解きました. http://poj.org/problem?id=1182 参考書 プログラミングコンテストチャレンジブック [第2版] 難しさ(初心者目線) ・考え方**** ・実装**** ・面白さ**** 問題文 N匹の動物がいます. 動物には番号がついており(1,2,…,N)です. また、動…
CODEFORCEの問題を解きました. http://codeforces.com/contest/779/problem/A 難しさ(初心者目線) ・考え方** ・実装* ・面白さ* 問題 幸多高校には2つのクラス(A,B)があります. クラスの人数は共にn人です. クラス対抗プログラミングコンテストを行った…
CODEFORCEの問題を解いた. http://codeforces.com/contest/779/problem/B 難しさ(初心者目線) ・考え方* ・実装* ・面白さ* 問題 コウタ君は数をで割るのが大好きです. 今日は整数nをで割ろうと思います. コウタ君はnがで割り切れないと怒るので、 割り切…
yukicoderさんの問題です. http://yukicoder.me/problems/no/47 難しさ(初心者目線) ・考え方* ・実装 ・面白さ** ヒント コード #include <algorithm> #include <cstdio> #include <iostream> #include <map> #include <cmath> #include <queue> #include <set> #include <sstream> #include <stack> #include <string> #include <vector> #inclu</vector></string></stack></sstream></set></queue></cmath></map></iostream></cstdio></algorithm>…
yukicoderさんの問題 http://yukicoder.me/problems/no/3 参考書 プログラミングコンテストチャレンジブック [第2版] 難しさ(初心者目線) ・考え方*** ・実装*** ・面白さ*** 以下にヒントがあります. ヒント 幅優先全探索の問題. コード #include <algorithm> #inclu</algorithm>…
CODEFORCESの問題 http://codeforces.com/contest/768/problem/B プログラミングコンテストの参考書 プログラミングコンテストチャレンジブック [第2版] 難しさ ・考え方*** ・実装*** ・面白さ***** 問題文(日本語訳) コウタ君はある整数xを,x mod 2, に…