Result

WA

Duration

765ms

Code [DL]

extern const char*const in;char r[50],i=([]{for(auto l=in,t=l;*l;l+=3)r[i++]=(t[0]-l[0])*10+t[1]-l[1]>0?(t=l,49):48;r[0]=49;}(),0);constexpr char*f(const char*){return r;}

stdin

53
44
71
82
22
97
26
77
99
58
52
87
74
30
37
17
32
56
43
33
84
90
70
28
24
78
80
51
42
60
39
75
54
13
23
91
89
88
57
46
21
62
18
85
86
48
76
34
69
79

stdout

Cracked! You must not compute at run-time.
Strings:
/lib64/ld-linux-x86-64.so.2
libm.so.6
__gmon_start__
libstdc++.so.6
_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate
_ZNSt8ios_baseD2Ev
_ZNSt13basic_filebufIcSt11char_traitsIcEE5closeEv
_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev
_ZTTSt14basic_ofstreamIcSt11char_traitsIcEE
_ZNSt13basic_filebufIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode
__gxx_personality_v0
_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
_ZNSt13basic_filebufIcSt11char_traitsIcEED2Ev
libgcc_s.so.1
_Unwind_Resume
libc.so.6
strlen
__libc_start_main
GCC_3.0
GLIBC_2.2.5
CXXABI_1.3
GLIBCXX_3.4.9
GLIBCXX_3.4
[email protected]@
AVSH
[]A\A]A^A_
/tmp/1WAKot8lYZCubhQk53QRGCVGUCVtmKse.txt
;*3$"
zPLR
GCC: (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
Ubuntu clang version 11.1.0-++20210428103817+1fdec59bffc1-1~exp1~20210428204431.166
GCC_except_table0
_GLOBAL__sub_I_main.cpp
crtstuff.c
deregister_tm_clones
__do_global_dtors_aux
completed.8060
__do_global_dtors_aux_fini_array_entry
frame_dummy
__frame_dummy_init_array_entry
__FRAME_END__
__GNU_EH_FRAME_HDR
_DYNAMIC
__init_array_end
__init_array_start
_GLOBAL_OFFSET_TABLE_
[email protected]@GLIBCXX_3.4
_edata
[email protected]@GLIBCXX_3.4
_IO_stdin_used
[email protected]@GLIBC_2.2.5
main
__dso_handle
[email protected]@GLIBCXX_3.4
_dl_relocate_static_pie
_ZNSt13basic_filebufIcSt11char_[email protected]@GLIBCXX_3.4
_ZNS[email protected]@GLIBCXX_3.4
__TMC_END__
_ZSt16__ostrea[email protected]@GLIBCXX_3.4.9
__data_start
__bss_start
__libc_csu_init
[email protected]@CXXABI_1.3
[email protected]@GLIBCXX_3.4
[email protected]@GLIBCXX_3.4
[email protected]@GCC_3.0
__libc_csu_fini
[email protected]@GLIBC_2.2.5
__gmon_start__
.symtab
.strtab
.shstrtab
.interp
.note.gnu.build-id
.note.ABI-tag
.gnu.hash
.dynsym
.dynstr
.gnu.version
.gnu.version_r
.rela.dyn
.rela.plt
.init
.text
.fini
.rodata
.eh_frame_hdr
.eh_frame
.gcc_except_table
.init_array
.fini_array
.data.rel.ro
.dynamic
.got
.got.plt
.data
.bss
.comment

stderr

In file included from /tmp/main.cpp:2:
/tmp/code.cpp:1:72: warning: array subscript is of type 'char' [-Wchar-subscripts]
extern const char*const in;char r[50],i=([]{for(auto l=in,t=l;*l;l+=3)r[i++]=(t[0]-l[0])*10+t[1]-l[1]>0?(t=l,49):48;r[0]=49;}(),0);constexpr char*f(const char*){return r;}
                                                                       ^~~~
1 warning generated.

strace