Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Incorrecto
|
0.107 s | 13 KBi |
#2 |
Incorrecto
|
0.109 s | 13 KBi |
#3 |
Incorrecto
|
0.109 s | 13 KBi |
#4 |
Incorrecto
|
0.106 s | 13 KBi |
#5 |
Incorrecto
|
0.101 s | 13 KBi |
import java.util.Scanner; // Import the Scanner class class Main { public static void main(String[] args) { Scanner myObj = new Scanner(System.in); // Create a Scanner object System.out.println("Enter username"); String userName = myObj.nextLine(); // Read user input System.out.println("Username is: " + userName); // Output user input } }