Friday, November 24, 2017

Quick Estimates Kattis Problem Solution In Java

//Nayeem Shahriar Joy, Applied Physics & Electronic Engineering, University of Rajshahi.
 
import java.util.Scanner
 
public class JavaApplication1 {

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

}
}

No comments:

Post a Comment