Untitled
unknown
java
a year ago
241 B
14
Indexable
import java.util.Scanner;
public class P1 {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
System.out.println(n / (int) (Math.pow(10, (int) Math.log10(n))));
}
}Editor is loading...
Leave a Comment