HackerEarth
これを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? | 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 | 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…
噂のHacker Earthの問題を解いてみることに. 問題 Small Factorials | Solve programming problems on HackerEarth 回答 Submission (2166209) for Small Factorials | HackerEarth入力された数値の階乗を表示する.5だったら5!=120なので,120を出力. 普…