2019-03-01から1ヶ月間の記事一覧
ABC001 を解く c++ で解いてます。理由は先輩が c++ は最高の言語だというからです。 問題A 簡単な引き算なので省略 問題B まだできてマシェん #include <iostream> #include <sstream> using namespace std; int main() { float d; std::stringstream stream; cin >> d; d /= 1</sstream></iostream>…
ふと、printf() について気になったので調べたら知らないことがたくさんわかったのでメモします。 参考: printf(3): formatted output conversion - Linux man page printf() は関数で、第一引数に format charactor を受ける。% ではない普通の文字はそのま…
タイで一人旅してきました。貧乏旅のため予算を超えないように、毎日使った金額をメモしていたので予算がきになる人は参考になるかもしれません。 期間は 3/7~3/24 の18日の旅行。 最終日の 3/24 の午前1:00 に離陸しているので、実質は17日間の旅行。 使用…
level 12->13 この辺から、急にむずくなった気がする。まあ、tar の理解をしなければならないだけなんですど。 お題 The password for the next level is stored in the file data.txt, which is a hexdump of a file that has been repeatedly compressed. …