29th Oct 2020, 6:26 AM
Sergey
Sergey - avatar
3 odpowiedzi
+ 1
так тоже не работает )) so does not work )) for(int i = 0; i < olympiad.Length; i++){ if(i == 0) Console.WriteLine(olympiad[i][day1Winner-1]); else if(i == 1) Console.WriteLine(olympiad[i][day2Winner-1]); else if(i == 2) Console.WriteLine(olympiad[i][day3Winner-1]);
29th Oct 2020, 10:46 AM
Sergey
Sergey - avatar
+ 1
так тоже не работает)) does not work)) what’s problem?)) в чем проблема?))) Миша Белый string[] names = new string[olympiad.Length]; for(int i = 0; i < olympiad.Length; i++){ if(i == 0) names[i] = olympiad[i][day1Winner-1]; else if(i == 1) names[i] = olympiad[i][day2Winner-1]; else if(i == 2) names[i] = olympiad[i][day3Winner-1]; } foreach(string name in names) Console.WriteLine(string.Format(name));
29th Oct 2020, 10:47 AM
Sergey
Sergey - avatar
+ 1
does not work)) what’s problem? why the test fifth fail?не работает)) в чем проблема? не проходит 5-й тест))
29th Oct 2020, 11:02 AM
Sergey
Sergey - avatar