The spy life problem (Java) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

The spy life problem (Java)

I can execute all input cases in netbeans, however in CodePlayground it only accepts case 1 and 2 https://code.sololearn.com/cm3Ymi326Vpg/?ref=app

12th May 2020, 2:54 AM
Jhonathan Atuesta
Jhonathan Atuesta - avatar
1 Answer
+ 4
Use cad = read.nextLine(); Not cad = read.next();
12th May 2020, 3:49 AM
ChaoticDawg
ChaoticDawg - avatar