Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I have same problem :)
it worked, thanks :)
Fixed.
Language: Swift
Starting with the base code that uses Long type that does not exist in swift, after changing all variables to Int the base test works but when i try the big attempt it gives out this error:
main.swift:44:24: error: type of expression is ambiguous without more context
let actual = numbersWithDigitInside(x,d);
i think it's a test issue but if there is already a fix i'd like some help
This is necessarily coming from your code, there is no way tests magically multiply all numbers in your result by 10. When you don't know, please: don't raise an issue! See the documentation: https://docs.codewars.com/training/troubleshooting/
(writing in swift) I think i have an issue but it's probably just me being stupid, when i try the code in Xcode it works wonders, when i run it on CW i get every number multiplied by 10 and i literally have no instruction that does that;
not here for the solution obviously, just to know if it's a me dumb dumb problem or a known one
this is the result of 1 test in CW and only 1 command print(), the same test on Xcode gives only the first line:
test: [(69, 130), (87, 1310), (3, 4)] output: [(18078, 34060), (2262, 34060), (25545, 34060)]
test: [(690, 1300), (87, 1310), (30, 40)] output: [(180780, 340600), (22620, 340600), (255450, 340600)]