C-study/01/3/3_shortest.c
2021-09-19 21:45:38 +08:00

3 lines
110 B
C

#include <stdio.h>
int main(){int x;scanf("%d",&x);x/1000==0 ? printf("%d",x):printf("%d,%d",x/1000,x%1000);}