← Back to topics
Topic

pK-WrongKey

girrafe394
idk what's wrong with my code, could anyone help?
http://z-trening.com/submit.php?submit=7100137672&subm_code=1
elvircrn
i have problem with test case number 4
Vidakovic
same problem!
I think there is a mistake in that case!
halil
Test cases are ok. For test from text of task you got wrong answer.
For test: [l=;dy od yjr nrsdy/
number of words is 4, you got 6 (before od there are two blanks).
Vidakovic
It doesn't work!!!!
Can you paste 4th test here?
elvircrn
izbaci prazno polje
Vidakovic
I still think there is a mistake!
elvircrn
if nesto jednako ' '
elvircrn
if (s[i] == ' ') s1[i]='>';
sta ce ti to
elvircrn
ali je zadatak vrlo gl00p
Vidakovic
to sam stavio da kad naiđe na razmak, prosto ga preskoči!!!
Vidakovic
Zadatak jeste pomalo debilozan!!!
elvircrn
a da popunis string sa slovima sa tastature?
Vidakovic
nznm, ne razumem ovaj 4. test, najradije bi da vidim neki sličan njemu, ako ne mogu njega ,pa da vidim gdje je greška!
elvircrn
zgembo = "`1234567890-=qwertyuiop[]asdfghjkl;'zxcvbnm,./"
nepravis ovako jedan string
elvircrn
i onda samo pomjeris taj i za 1
elvircrn
jel me razumijes?
ajd na chat