Result

WA

Duration

747ms

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

15
40
75
27
56
80
30
43
46
10
97
94
17
34
21
13
83
84
44
18
79
86
63
39
61
51
72
33
36
49
88
98
58
60
47
93
62
38
99
64
81
20
71
53
70
50
89
31
57
85

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
H=x@@
AVSH
[]A\A]A^A_
/tmp/jtgaLuJ8LngSueviy4pCZNOJWOVsUmOF.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: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