蜗壳 @ 2021-05-16 10:55:04
两行代码搞定
strA=input()
print("%.3f"%float(strA[::-1]))
by PIKA_PIKA @ 2021-05-16 10:57:03
scanf("%c%c%c.%c",&a,&b,&c,&d);
printf("%c.%c%c%c",d,c,b,a);
c++主体代码也就两行
by PIKA_PIKA @ 2021-05-16 10:57:14
@蜗壳
by FCB_1899 @ 2021-05-16 11:00:26
tlqtj
by 123456zmy @ 2021-05-16 11:05:43
#include<stdio.h>
int main(){char c=getchar();if(c>13)main(),putchar(c);}
by 蜗壳 @ 2021-05-16 11:06:17
@yek【✔】承让
by ud2_ @ 2021-05-16 11:10:46
@蜗壳 不应该只要 1 行吗?
by ADay @ 2021-05-16 11:11:44
@蜗壳 不应该一行吗
print(input()[::-1][1:])
by 蜗壳 @ 2021-05-16 11:15:24
@ADay print里面嵌套input,厉害
by ADay @ 2021-05-16 11:17:04
@蜗壳 怎么了有什么坏处吗
by Yukinoshita_Yukino @ 2021-05-16 11:17:57
tlqtj