using System;
public class Test
{
public static void Main()
{
int liczbaTestow = int.Parse(Console.ReadLine());
string[] liczby = new string[101];
for (int i = 0; i < liczbaTestow; i++)
{
int iloscLiczb = int.Parse(Console.ReadLine());
for (int j = 0; j < iloscLiczb; j++)
{
liczby[j] = Console.ReadLine();
}
for (int j = 0; j < iloscLiczb; j++)
{
if (j % 2 != 0)
Console.WriteLine(liczby[j]);
}
for (int j = 0; j < iloscLiczb; j++)
{
if (j % 2 == 0)
Console.WriteLine(liczby[j]);
}
}
}
}
Ktoś może powiedzieć co robie nie tak?
Wydaje mi się że wszystko jest git, w C++ nigdy nie miałem problemu z takimi łatwymi zadaniami, a ten kod jest w c#