1 2 3 4 5 6 7 8 9 10 11 12 13 14 | int main() { string s; int sint; s = Stdio.stdin->gets(); sscanf(s, "%d", sint); sint = sint * sint; sprintf(s, "%d", sint); write("%d\n", sint); return 0; } |
aW50IG1haW4oKSB7CiAgc3RyaW5nIHM7CiAgaW50IHNpbnQ7CgogIHMgPSBTdGRpby5zdGRpbi0+Z2V0cygpOwoKICBzc2NhbmYocywgIiVkIiwgc2ludCk7CgogIHNpbnQgPSBzaW50ICogc2ludDsKICBzcHJpbnRmKHMsICIlZCIsIHNpbnQpOwoKICB3cml0ZSgiJWRcbiIsIHNpbnQpOwogIHJldHVybiAwOwp9
-
upload with new input
-
result: Success time: 0.14s memory: 10176 kB returned value: 0
1000
1000000
-
result: Success time: 0.14s memory: 10176 kB returned value: 0
15
225



