题解 | #成绩输入输出#

https://www.nowcoder.com/practice/eb49750ef0de47168c21761de086d97c

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            string input=Console.ReadLine();
            string[] score=input.Split(' ');
            Console.WriteLine("score1={0},score2={1},score3={2}",score[0],score[1],score[2]);

        }
    }
}


字符操作,可能会慢一点
全部评论

相关推荐

嘀哩咕噜说啥呢:27届,这简历,强的逆天,大厂实习随便冲,面经多少看点,hot100刷完,大厂随便挑了
点赞 评论 收藏
分享
04-27 08:59
常州大学 Java
牛客139242382号:《两门以上汇编语言》
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客企业服务