-
Notifications
You must be signed in to change notification settings - Fork 0
main.cpp
furutsuki edited this page May 31, 2015
·
3 revisions
uint8_t n; // ブロックの数
sometype field;
using stone = sometype;
stone[32] stones;
void submit() {
// ワカラン
}
void get_problem_file() {
popen("curl"); // みたいな
}
void parse_field() {
for (int i = 0; i < 32; ++i) {
fgets(field[i], 32, stdin);
get();
}
}
void parse_block() {
for (int i = 0; i < n; ++i) for (int j = 0; j < 8; ++j) {
fgets(stones[i][j], 8, stdin);
get();
}
}
void parse() {
parse_field();
scanf("%d¥n", &n);
for (int i = 0; i < n; ++i) {
parse_block();
get(); // 改行読み捨て
}
}
int main() {
get_problem_file();
parse();
solve();
submit();
return 0;
}