Click Here to go back to the homepage.

Quick Estimates Solution:


import java.util.Scanner;

public class Kattis {

  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int cases = Integer.parseInt(sc.nextLine());
    for (int i = 0; i < cases; i++) {
      System.out.println(sc.nextLine().length());
    }
  }
}