// File: /workspace/github_c_makefile_star2_O1/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 0x269d
movq 0x8(%rsi), %rsi
leaq 0x68(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0x278c
leaq 0x1f0(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
addq %rsi, %rdx
leaq 0x1e0(%rsp), %rdi
callq 0x2cb2
leaq 0x1e0(%rsp), %rdi
callq 0x27ca
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 0x284a
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), %rax
leaq (%rsp,%rax), %rbx
addq $0x68, %rbx
cmpb $0x0, 0xe1(%rbx)
jne 0x2556
movq %rbx, %rdi
movl $0x20, %esi
callq 0x2170
movb %al, 0xe0(%rbx)
movb $0x1, 0xe1(%rbx)
movb $0x30, 0xe0(%rbx)
leaq 0x68(%rsp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
movq $0x4, 0x78(%rsp,%rax)
movl 0x1e0(%rsp), %esi
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 0x264a
leaq 0x2a68(%rip), %rsi      # 0x5010
leaq 0x48(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0x2b67
leaq 0x2a59(%rip), %rsi      # 0x5017
leaq 0x48(%rsp), %rdi
callq 0x22f0
leaq 0x18(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x25ef
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x25f6
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%rsp), %rdi
callq 0x2150
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x262f
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2180
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x264a
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x2180
leaq 0x1e0(%rsp), %rdi
callq 0x31c2
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2672
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2180
movq 0x4957(%rip), %rsi      # 0x6fd0
leaq 0x68(%rsp), %rdi
callq 0x20e0
leaq 0xd8(%rsp), %rdi
callq 0x20b0
leaq 0x1e0(%rsp), %rdi
callq 0x2bf0
xorl %eax, %eax
addq $0x1278, %rsp           # imm = 0x1278
popq %rbx
popq %r14
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x26c9
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2180
jmp 0x26c9
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x26eb
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x2180
jmp 0x26eb
jmp 0x26e8
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2759
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2180
jmp 0x2759
jmp 0x2756
movq %rax, %rbx
jmp 0x2777
movq %rax, %rbx
movq 0x1e0(%rsp), %rdi
cmpq %r14, %rdi
je 0x2734
movq 0x1f0(%rsp), %rsi
incq %rsi
callq 0x2180
jmp 0x2734
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2784
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x2180
jmp 0x2784
movq %rax, %rbx
jmp 0x2784
movq %rax, %rbx
movq 0x4870(%rip), %rsi      # 0x6fd0
leaq 0x68(%rsp), %rdi
callq 0x20e0
leaq 0xd8(%rsp), %rdi
callq 0x20b0
leaq 0x1e0(%rsp), %rdi
callq 0x2bf0
movq %rbx, %rdi
callq 0x22c0