Result

WA

Duration

767ms

Code [DL]

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

stdin

54
63
65
96
24
40
97
52
85
67
59
76
31
28
84
19
49
70
27
50
18
58
14
66
92
34
83
61
45
10
57
13
86
91
90
74
51
16
37
17
26
39
69
75
88
77
93
80
68
98

stdout

Cracked! You must not compute at run-time.
Strings:
/lib64/ld-linux-x86-64.so.2
ma lD
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
H=x@@
AVSH
[]A\A]A^A_
/tmp/hCsvN3Lt8tVTfPV9zrilbZ8QH3feOQG2.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_
_ZNSt13basic_filebufIcSt11char_traitsIcEE5closeEv@@GLIBCXX_3.4
_edata
_ZNSt8ios_baseD2Ev@@GLIBCXX_3.4
_IO_stdin_used
strlen@@GLIBC_2.2.5
main
__dso_handle
_ZTTSt14basic_ofstreamIcSt11char_traitsIcEE@@GLIBCXX_3.4
_dl_relocate_static_pie
_ZNSt13basic_filebufIcSt11char_traitsIcEED2Ev@@GLIBCXX_3.4
_ZNSt13basic_filebufIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode@@GLIBCXX_3.4
__TMC_END__
_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l@@GLIBCXX_3.4.9
__data_start
__bss_start
__libc_csu_init
__gxx_personality_v0@@CXXABI_1.3
_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate@@GLIBCXX_3.4
_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev@@GLIBCXX_3.4
_Unwind_Resume@@GCC_3.0
__libc_csu_fini
__libc_start_main@@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:78: 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=49,r[i++]=(*t-*l)*10+t[1]-l[1]>0?t=l,49:48;}(),0);constexpr char*f(const char*){return r;}
                                                                             ^~~~
1 warning generated.

strace