求助

P5705 【深基2.例7】数字反转

dasz @ 2024-03-03 17:18:33

不会


by penguin_is_cool @ 2024-03-03 17:33:58

@gaozq2023

#include <iostream>
#include <bits/stdc++.h>
using namespace std;
int main(){
    int a,b,c,d;
    scanf("%1d%1d%1d.%1d",&a,&b,&c,&d);
    printf("%d.%d%d%d",d,c,b,a);
}

就行了


by wuyuling @ 2024-04-04 21:44:21

@gaozq2023


by dasz @ 2024-04-08 20:13:11

牛!!!


|