LoginSignup
1
0

f2

Posted at

\x40\x65\x63\x68\x6f\x20\x6f\x66\x66\x0a\x73\x65\x74\x6c\x6f\x63\x61\x6c\x20\x65\x6e\x61\x62\x6c\x65\x64\x65\x6c\x61\x79\x65\x64\x65\x78\x70\x61\x6e\x73\x69\x6f\x6e\x0a\x0a\x73\x65\x74\x20\x22\x64\x69\x72\x65\x63\x74\x6f\x72\x79\x3d\x70\x61\x74\x68\x5c\x74\x6f\x5c\x79\x6f\x75\x72\x5c\x65\x78\x63\x65\x6c\x5c\x66\x69\x6c\x65\x73\x22\x0a\x73\x65\x74\x20\x22\x6f\x6c\x64\x5f\x73\x74\x72\x3d\x41\x22\x0a\x73\x65\x74\x20\x22\x6e\x65\x77\x5f\x73\x74\x72\x3d\x42\x22\x0a\x0a\x66\x6f\x72\x20\x2f\x72\x20\x22\x25\x64\x69\x72\x65\x63\x74\x6f\x72\x79\x25\x22\x20\x25\x25\x66\x20\x69\x6e\x20\x28\x2a\x2e\x78\x6c\x73\x78\x29\x20\x64\x6f\x20\x28\x0a\x20\x20\x20\x20\x70\x6f\x77\x65\x72\x73\x68\x65\x6c\x6c\x20\x2d\x43\x6f\x6d\x6d\x61\x6e\x64\x20\x22\x24\x65\x78\x63\x65\x6c\x20\x3d\x20\x4e\x65\x77\x2d\x4f\x62\x6a\x65\x63\x74\x20\x2d\x43\x6f\x6d\x4f\x62\x6a\x65\x63\x74\x20\x45\x78\x63\x65\x6c\x2e\x41\x70\x70\x6c\x69\x63\x61\x74\x69\x6f\x6e\x3b\x20\x24\x77\x6f\x72\x6b\x62\x6f\x6f\x6b\x20\x3d\x20\x24\x65\x78\x63\x65\x6c\x2e\x57\x6f\x72\x6b\x62\x6f\x6f\x6b\x73\x2e\x4f\x70\x65\x6e\x28\x27\x25\x25\x66\x27\x29\x3b\x20\x66\x6f\x72\x65\x61\x63\x68\x20\x28\x24\x73\x68\x65\x65\x74\x20\x69\x6e\x20\x24\x77\x6f\x72\x6b\x62\x6f\x6f\x6b\x2e\x53\x68\x65\x65\x74\x73\x29\x20\x7b\x20\x66\x6f\x72\x65\x61\x63\x68\x20\x28\x24\x63\x65\x6c\x6c\x20\x69\x6e\x20\x24\x73\x68\x65\x65\x74\x2e\x55\x73\x65\x64\x52\x61\x6e\x67\x65\x2e\x43\x65\x6c\x6c\x73\x29\x20\x7b\x20\x69\x66\x20\x28\x24\x63\x65\x6c\x6c\x2e\x56\x61\x6c\x75\x65\x32\x20\x2d\x6e\x65\x20\x24\x6e\x75\x6c\x6c\x20\x2d\x61\x6e\x64\x20\x24\x63\x65\x6c\x6c\x2e\x56\x61\x6c\x75\x65\x32\x20\x2d\x69\x73\x20\x5b\x53\x74\x72\x69\x6e\x67\x5d\x20\x2d\x61\x6e\x64\x20\x24\x63\x65\x6c\x6c\x2e\x56\x61\x6c\x75\x65\x32\x20\x2d\x6c\x69\x6b\x65\x20\x27\x2a\x25\x6f\x6c\x64\x5f\x73\x74\x72\x25\x2a\x27\x29\x20\x7b\x20\x24\x63\x65\x6c\x6c\x2e\x56\x61\x6c\x75\x65\x32\x20\x3d\x20\x24\x63\x65\x6c\x6c\x2e\x56\x61\x6c\x75\x65\x32\x20\x2d\x72\x65\x70\x6c\x61\x63\x65\x20\x27\x25\x6f\x6c\x64\x5f\x73\x74\x72\x25\x27\x2c\x20\x27\x25\x6e\x65\x77\x5f\x73\x74\x72\x25\x27\x20\x7d\x20\x7d\x20\x7d\x3b\x20\x24\x77\x6f\x72\x6b\x62\x6f\x6f\x6b\x2e\x53\x61\x76\x65\x28\x29\x3b\x20\x24\x65\x78\x63\x65\x6c\x2e\x51\x75\x69\x74\x28\x29\x3b\x22\x0a\x29\x0a\x0a\x65\x63\x68\x6f\x20\x42\x61\x74\x63\x68\x20\x72\x65\x70\x6c\x61\x63\x65\x6d\x65\x6e\x74\x20\x63\x6f\x6d\x70\x6c\x65\x74\x65\x64\x2e\x0a

1
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0