1 solutions

  • 0
    @ 2025-11-5 16:00:05

    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

    Information

    ID
    17425
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    (None)
    Tags
    # Submissions
    0
    Accepted
    0
    Uploaded By