// File: /workspace/github_c_makefile_star2_O3/silverneko[P]miku/./src/tddump.cpp
// Function: main
int main(int argc, char *argv[])
{
  if(argc < 2) return 0;
  int pid = cast(argv[1]).to<int>();
  submission sub;

  sub.problem_id = pid;

  ostringstream sout;
  sout << "./testdata/";
  sout << setfill('0') << setw(4) << sub.problem_id;
  string testdata_dir(sout.str());
  if(access(testdata_dir.c_str(), F_OK)){
    system(("mkdir " + testdata_dir + " 2>/dev/null").c_str());
  }

  downloadTestdata(sub);

  return 0;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x1278, %rsp           # imm = 0x1278
cmpl $0x2, %edi
jl 0x2697
movq 0x8(%rsi), %rsi
leaq 0x68(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0x2786
leaq 0x1f0(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
addq %rsi, %rdx
leaq 0x1e0(%rsp), %rdi
callq 0x2c2c
leaq 0x1e0(%rsp), %rdi
callq 0x27c4
movl %eax, %ebx
movq 0x1e0(%rsp), %rdi
cmpq %r14, %rdi
je 0x24d4
movq 0x1f0(%rsp), %rsi
incq %rsi
callq 0x2180
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x24ef
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x2180
leaq 0x1e0(%rsp), %r14
movq %r14, %rdi
callq 0x2844
movl %ebx, (%r14)
leaq 0x68(%rsp), %rdi
callq 0x21d0
leaq 0x2af1(%rip), %rsi      # 0x5004
leaq 0x68(%rsp), %rdi
movl $0xb, %edx
callq 0x21a0
movq 0x68(%rsp), %rax
movq -0x18(%rax), %rcx
leaq (%rsp,%rcx), %rbx
addq $0x68, %rbx
cmpb $0x0, 0xe1(%rbx)
jne 0x2555
movq %rbx, %rdi
movl $0x20, %esi
callq 0x2170
movb $0x1, 0xe1(%rbx)
movq 0x68(%rsp), %rax
movb $0x30, 0xe0(%rbx)
movq -0x18(%rax), %rax
movq $0x4, 0x78(%rsp,%rax)
movl 0x1e0(%rsp), %esi
leaq 0x68(%rsp), %rdi
callq 0x22b0
leaq 0x70(%rsp), %rsi
leaq 0x28(%rsp), %rdi
callq 0x2270
movq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x2290
testl %eax, %eax
je 0x2644
leaq 0x2a6c(%rip), %rsi      # 0x5010
leaq 0x48(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0x2ae1
leaq 0x2a5d(%rip), %rsi      # 0x5017
leaq 0x48(%rsp), %rdi
callq 0x22f0
leaq 0x18(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdi
je 0x25eb
movq %rdi, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x25f5
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq %r14, %rdi
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x2150
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x2629
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2180
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2644
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x2180
leaq 0x1e0(%rsp), %rdi
callq 0x3146
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x266c
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2180
movq 0x495d(%rip), %rsi      # 0x6fd0
leaq 0x68(%rsp), %rdi
callq 0x20e0
leaq 0xd8(%rsp), %rdi
callq 0x20b0
leaq 0x1e0(%rsp), %rdi
callq 0x2b6a
xorl %eax, %eax
addq $0x1278, %rsp           # imm = 0x1278
popq %rbx
popq %r14
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x26c3
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2180
jmp 0x26c3
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x26e5
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x2180
jmp 0x26e5
jmp 0x26e2
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2753
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2180
jmp 0x2753
jmp 0x2750
movq %rax, %rbx
jmp 0x2771
movq %rax, %rbx
movq 0x1e0(%rsp), %rdi
cmpq %r14, %rdi
je 0x272e
movq 0x1f0(%rsp), %rsi
incq %rsi
callq 0x2180
jmp 0x272e
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x277e
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x2180
jmp 0x277e
movq %rax, %rbx
jmp 0x277e
movq %rax, %rbx
movq 0x4876(%rip), %rsi      # 0x6fd0
leaq 0x68(%rsp), %rdi
callq 0x20e0
leaq 0xd8(%rsp), %rdi
callq 0x20b0
leaq 0x1e0(%rsp), %rdi
callq 0x2b6a
movq %rbx, %rdi
callq 0x22c0