Untitled
unknown
java
2 years ago
241 B
22
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