← Back to topics
Topic

pK-WrongKey

g
girrafe394
idk what's wrong with my code, could anyone help?
http://z-trening.com/submit.php?submit=7100137672&subm_code=1
e
elvircrn
i have problem with test case number 4
V
Vidakovic
same problem!
I think there is a mistake in that case!
h
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).
V
Vidakovic
It doesn't work!!!!
Can you paste 4th test here?
e
elvircrn
izbaci prazno polje
V
Vidakovic
I still think there is a mistake!
e
elvircrn
if nesto jednako ' '
e
elvircrn
if (s[i] == ' ') s1[i]='>';
sta ce ti to
e
elvircrn
ali je zadatak vrlo gl00p
V
Vidakovic
to sam stavio da kad naiđe na razmak, prosto ga preskoči!!!
V
Vidakovic
Zadatak jeste pomalo debilozan!!!
e
elvircrn
a da popunis string sa slovima sa tastature?
V
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!
e
elvircrn
zgembo = "`1234567890-=qwertyuiop[]asdfghjkl;'zxcvbnm,./"
nepravis ovako jedan string
e
elvircrn
i onda samo pomjeris taj i za 1
e
elvircrn
jel me razumijes?
ajd na chat