+ 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 Respuesta
+ 4
Use cad = read.nextLine(); Not cad = read.next();
12th May 2020, 3:49 AM
ChaoticDawg
ChaoticDawg - avatar