+ 1

Test case #5 isn't passing. Where's the problem in my code? I described my problem statement into the code below

https://code.sololearn.com/cNu8Szj546sS/?ref=app

31st Jul 2020, 9:20 PM
Jubaer Ahmad
Jubaer Ahmad - avatar
5 Respuestas
+ 4
my approach would've been something like - extracting all the capital letters of the buddies' names string and simply checking whether my name's first letter exist in them or not. yours is good but I am confused abit... can you explain?
31st Jul 2020, 9:41 PM
RKK
RKK - avatar
+ 4
Hey there guys I just wanted to ask if you solved your problems with test case #5 since i have the same problem in python.
11th Nov 2020, 7:58 AM
Stefan
Stefan - avatar
+ 3
don't you think your line 37 is tricky or abit lengthy? why don't you do something like this... cout << ((x == y || x == 0)?"Compare notes":"No such luck");
31st Jul 2020, 9:34 PM
RKK
RKK - avatar
+ 2
RKK Thanks for the suggestion
31st Jul 2020, 9:35 PM
Jubaer Ahmad
Jubaer Ahmad - avatar
0
can someone pls explain the last line to me ? the comparing one x==y || x=0
26th May 2023, 5:28 PM
Shimaa
Shimaa - avatar