1 条题解

  • 0
    @ 2025-4-14 18:41:36

    C :

    #include<stdio.h>
    main()
    {
    	int a,b;
    	scanf("%2d%*3s%d",&a,&b);
    	printf("%d,%d",a,b);
    } 
    

    C++ :

    #include<stdio.h>
    main()
    {
    	int a,b;
    	scanf("%2d%*3s%d",&a,&b);
    	printf("%d,%d",a,b);
    } 
    
    • 1

    【验证型】第4章:键盘输入和屏幕输出 简单的输出2

    信息

    ID
    3026
    时间
    1000ms
    内存
    128MiB
    难度
    (无)
    标签
    递交数
    0
    已通过
    0
    上传者