← Back to List

13297번: Quick Estimates ↗

Solutions

Java 8
292 B | 292 chars
import java.util.Scanner;

class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        for(int i = 0; i < N; i++) {
            String s = sc.next();
            System.out.println(s.length());
        }
    }
}