Skip to content

Instantly share code, notes, and snippets.

#include <cstdio>
#include <cmath>
#include <cstring>
#include <ctime>
#include <iostream>
#include <algorithm>
#include <set>
#include <vector>
#include <sstream>
#include <typeinfo>
@riantkb
riantkb / qualb.csv
Last active October 14, 2018 15:11
大学生、大学院生(と思われる人)で予選Aで本戦通過した(と思われる)人を除いた予想順位をつけてみました。この人高校生ですとかこの人社会人ですとかこの人実は大学生ですとかこの人予選Aで通過してると思いきやentry忘れてましたとかあれば https://twitter.com/rian_tkb まで教えてください。
rank name rank in qualA
- 1 semiexp 1
1 2 Huziwara
- 3 tomerun 53
- 4 Return_Hao
2 5 olphe 101
3 6 sigma425 36
4 7 wo01
- 8 piroz95 49
5 9 MMNMM 163
using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
class Program {
static StreamWriter sw = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false };
static Scan sc = new Scan();
const int M = 1000000007;
const double eps = 1e-11;
file : sample/fs01.img
ビットマップブロックに実際の使用状況との相違があります.
bitmap[200] : False, expect : True
file : sample/fs02.img
スーパーブロックのsizeの値が異なります.
expect : 1000, size : 1024
以下では size = 1000 とします.
file : sample/fs03.img
@riantkb
riantkb / Answer.cpp
Created December 7, 2016 07:56
ハルコン2016でのrian_tkbのコード
//------------------------------------------------------------------------------
/// @file
/// @author ハル研究所プログラミングコンテスト実行委員会
///
/// @copyright Copyright (c) 2016 HAL Laboratory, Inc.
/// @attention このファイルの利用は、同梱のREADMEにある
/// 利用条件に従ってください
//------------------------------------------------------------------------------
#include "Answer.hpp"