1 2 3 4 5 6 7 8 9 10 11 | import Stdio; int main() { array (int) a1; string s1,s2; sscanf(stdin->gets(), "%s\n%s", s1,s2); write("%s\n",s1); return 0; } |
CmltcG9ydCBTdGRpbzsKIAppbnQgbWFpbigpCnsKICAgYXJyYXkgKGludCkgYTE7CiAgIHN0cmluZyBzMSxzMjsKICAgc3NjYW5mKHN0ZGluLT5nZXRzKCksICIlc1xuJXMiLCBzMSxzMik7CiAgIHdyaXRlKCIlc1xuIixzMSk7CiAgIHJldHVybiAwOwp9
-
upload with new input
-
result: Success time: 0.14s memory: 10176 kB returned value: 10
1390 2011
sprintf: Wrong type for argument 2: expected string, got int. src/modules/files/file.c:3913: Fd(1)->write("%s\n",0) prog.pike:9: /home/HsiUU8/prog()->main() -
result: Success time: 0.14s memory: 10176 kB returned value: 10
Bad argument 1 to sscanf(). Expected string. Unknown program: sscanf(0,"%s\n%s",<Unknown 249>,<Unknown 16>,<Unknown 249>,<Unknown 16>) prog.pike:8: /home/z88HzB/prog()->main()



