Is there a way to read an exact amount of split integers in C#?

前端 未结 0 721
面向向阳花
面向向阳花 2020-12-31 03:34

Basically I\'ve got this code:

var inputData = Console.ReadLine().Split(\' \');

int N = int.Parse(inputData[0]);
int K = int.Parse(inputData[1]);
int[] A = n         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题