名もなき未知

エンジニアリングとか、日常とかそういうのをまとめる場所。アクセス解析のためGAを利用、Googleに情報を送信しています。商品紹介のためAmazonアフィリエイトを利用、Amazonに情報を送信しています。記事に関しては私が書いていない引用文を除いて自由にご利用ください。

2015-07-22から1日間の記事一覧

C++のテンプレ

C++

競技プログラミングをする上で,短く書く技能は必須. そこでわかりやすい表記かつ短くするために,C++のテンプレを書かなきゃ… いけませんね…とりあえずはフォロワーさんのものを参考にします…競プロonC++のテンプレ - はっぴぃ☆わぁるどishizu774.hatenabl…

はじめてのC++(What is the string made of?をC++で解き直した)

これをC++で解き直した.What is the string made of? - 水面下の夢yumechi0525.hatenablog.com先にコード貼っとく,出来はひどい, #include <iostream> #include <map> using namespace std; int main() { map<char, int> hash; // entry hash['0'] = 6; hash['1'] = 2; hash['2'] = </char,></map></iostream>…

What is the string made of?

問題 What is the string made of? | Solve programming problems on HackerEarth 回答 Submission (2169459) for What is the string made of? | HackerEarthデジタル数字で使うマッチの数を数えましょう… みたいな感じの問題. たとえば0なら,6本*1 -- …

Roy and Profile Picture

Roy and Profile Picture** 問題Roy and Profile Picture | Solve programming problems on HackerEarth 回答 Submission (2166317) for Roy and Profile Picture | HackerEarth問題文より, [1] If any of the width or height is less than L, user is pro…