Getting Compilation error for swift

When I run the code for testcase it works fine, however when I submit the solution I get compilation error.
Here is the code

var testCases = Int(readLine()!) ?? 0
while testCases > 0 {
    let numsArray = readLine()!._split(separator: " ").flatMap { Int($0) }
    if numsArray[0] > numsArray[1] {
        print("A")
    } else {
        print("B")
    }
    
    // Decrement testCases
    testCases -= 1
}

The problem link is here
https://www.codechef.com/problems/TALLER

Having the same problem. It doesn’t look like too many people code in Swift on CodeChef from what I have seen so far. The error I get refers to importing SwiftShims but this doesn’t fix the submission problem.

Thanks for reporting. We’ll look into this soon.

:expressionless:

Thanks for responding, do let us know here once you guys fixed it.

Should be fixed now.

1 Like

Working now, thank you so much!

1 Like