Coding Games and Programming Challenges to Code Better
Send your feedback or ask for help here!
Created by @David_Augusto_Villa,validated by @deej26,@Eulero314 and @TBali.
If you have any issues, feel free to ping them.
Coding Games and Programming Challenges to Code Better
Send your feedback or ask for help here!
Created by @David_Augusto_Villa,validated by @deej26,@Eulero314 and @TBali.
If you have any issues, feel free to ping them.
Solved without using Set.
Bonjour,
Tous OK sauf 8 t 9, 9 il nβy a plus de carte et la solution doit etre 40 % β¦ ???
et 8 je trouve :
Nombre de cartes deled : 43 len de deck 9
Nombre de cartes a chercher : 6
67%
et il attend 22% ???
Si vous pouviez me donner quelques explication, merci
In test 9, what remains:
{(βKβ, βSβ), (βQβ, βHβ)}
Whatβs asked:
{(βJβ, βSβ), (βKβ, βSβ), (βQβ, βSβ), (βJβ, βHβ), (βQβ, βHβ)}
In test 8, what remains:
{(β4β, βDβ), (βTβ, βDβ), (β4β, βHβ), (βKβ, βSβ), (βQβ, βSβ), (β2β, βHβ)}
Whatβs asked:
{(β7β, βCβ), (β4β, βDβ), (β4β, βHβ), (βKβ, βSβ), (βJβ, βHβ), (βKβ, βCβ), (β3β, βSβ), (β7β, βDβ), (β6β, βSβ), (β6β, βCβ), (β2β, βDβ), (β5β, βCβ), (βTβ, βSβ), (βQβ, βSβ), (β2β, βHβ), (βQβ, βCβ), (βKβ, βHβ), (β8β, βSβ), (β4β, βSβ), (β3β, βHβ), (βJβ, βCβ), (β5β, βDβ), (β9β, βSβ), (βTβ, βDβ), (βQβ, βHβ), (β7β, βSβ), (β8β, βDβ)}
Does anyone know the input of validator 5 when submitting. I pass all the test but stuck at that
Itβs very similar to the Impossible test, looking for cards that have been removed. The only significant differences are that the descriptions of cards sought indicate more than one card, and one of those cards itβs looking for, itβs looking for two ways. Does that help?
if the percentage is 38.8%, the output should be 38% or 39%??
The puzzle mentions that the percentage should be βroundedβ, so 39% would be right. However there arenβt actually any situations like that in the tests or validators, where youβd have to round up.
Not sure I understand. Do you have ab example perhaps? Does this mean we can ignore removed cards being sought ?
The best example is the fifth test, Impossible, which seeks cards that have been removed. I donβt know if βignoreβ is the most precise term, but certainly if the card youβre looking for has been removed from the deck, youβre not going to find it.
Oh thanks. That helped. Iβm sorted!
Hi, I passed all the tests but when I tried to validate, I couldnβt validate the 9th validator but I donβt know why? Can someone please help me?
Strange, itβs very similar to the last test. You can message me with your code if you like. Update: Resolved, good job!
I have passed all tests but cannot pass test 8βs validator. Can you give me a hint?
You can send me your code (in private), Iβll send back whatβs wrong.
Because people are having trouble especially with the last two tests and validators, Iβm going to change the puzzle βtomorrowβ (i.e. sometime next year) to expose current validators 8 and 9, creating four new validators for those test cases, and insert several more simpler tests which might help to expose any issues earlier.