Language: Java

import java.util.Scanner;
??
public class Main{
??
????????public static void main(String[] args) {
????????????????// TODO Auto-generated method stub
????????????????Scanner sc = new Scanner(System.in);
????????????????int bannum = sc.nextInt();
????????????????String keyword = sc.next();
????????????????String kanban;
????????????????int cnt = 2;
????????????????int knum = 0;
????????????????for(int s = 0;s < bannum;s++){
????????????????????????kanban = sc.next();
????????????????????????loop:for(int i = 0; kanban.length()-i > keyword.length()-1;i++){
????????????????????????????????if(keyword.charAt(0) == kanban.charAt(i)){
????????????????????????????????????????for(int j = kanban.length()-1;j-i>=keyword.length()-1;j--){
????????????????????????????????????????????????if(keyword.charAt(keyword.length()-1) == kanban.charAt(j)){
????????????????????????????????????????????????????????cnt = 2;
????????????????????????????????????????????????????????for(int k = 1;k <= keyword.length()-1;k++){
????????????????????????????????????????????????????????????????//System.out.println(keyword.charAt(k));
????????????????????????????????????????????????????????????????//System.out.println(kanban.charAt((j-i)/(keyword.length()-1)*k+i));
????????????????????????????????????????????????????????????????if(keyword.charAt(k) == kanban.charAt((j-i)/(keyword.length()-1)*k+i)){
????????????????????????????????????????????????????????????????????????cnt++;
????????????????????????????????????????????????????????????????????????if(cnt-1 == keyword.length()){
????????????????????????????????????????????????????????????????????????????????knum++;
????????????????????????????????????????????????????????????????????????????????break loop;
????????????????????????????????????????????????????????????????????????}???????????????????????????????????????????????????????????? 
????????????????????????????????????????????????????????????????}
????????????????????????????????????????????????????????}
????????????????????????????????????????????????}
????????????????????????????????????????}
????????????????????????????????}
????????????????????????}???????????????????? 
????????????????}
????????????????System.out.println(knum);??????????????????
????????}

}

Compiler output:
Main.java:2: error: class, interface, enum, or record expected
??
^
Main.java:4: error: illegal start of type
??
^
Main.java:6: error: illegal start of expression
????????????????// TODO Auto-generated method stub
^
Main.java:6: error: illegal start of expression
????????????????// TODO Auto-generated method stub
 ^
Main.java:6: error: illegal start of expression
????????????????// TODO Auto-generated method stub
  ^
Main.java:6: error: illegal start of expression
????????????????// TODO Auto-generated method stub
   ^
Main.java:6: error: illegal start of expression
????????????????// TODO Auto-generated method stub
    ^
Main.java:6: error: illegal start of expression
????????????????// TODO Auto-generated method stub
     ^
Main.java:6: error: illegal start of expression
????????????????// TODO Auto-generated method stub
      ^
Main.java:6: error: illegal start of expression
????????????????// TODO Auto-generated method stub
       ^
Main.java:6: error: illegal start of expression
????????????????// TODO Auto-generated method stub
        ^
Main.java:6: error: illegal start of expression
????????????????// TODO Auto-generated method stub
         ^
Main.java:6: error: illegal start of expression
????????????????// TODO Auto-generated method stub
          ^
Main.java:6: error: illegal start of expression
????????????????// TODO Auto-generated method stub
           ^
Main.java:6: error: illegal start of expression
????????????????// TODO Auto-generated method stub
            ^
Main.java:6: error: illegal start of expression
????????????????// TODO Auto-generated method stub
             ^
Main.java:6: error: illegal start of expression
????????????????// TODO Auto-generated method stub
              ^
Main.java:6: error: illegal start of expression
????????????????// TODO Auto-generated method stub
               ^
Main.java:7: error: illegal start of expression
????????????????Scanner sc = new Scanner(System.in);
^
Main.java:7: error: illegal start of expression
????????????????Scanner sc = new Scanner(System.in);
 ^
Main.java:7: error: illegal start of expression
????????????????Scanner sc = new Scanner(System.in);
  ^
Main.java:7: error: illegal start of expression
????????????????Scanner sc = new Scanner(System.in);
   ^
Main.java:7: error: illegal start of expression
????????????????Scanner sc = new Scanner(System.in);
    ^
Main.java:7: error: illegal start of expression
????????????????Scanner sc = new Scanner(System.in);
     ^
Main.java:7: error: illegal start of expression
????????????????Scanner sc = new Scanner(System.in);
      ^
Main.java:7: error: illegal start of expression
????????????????Scanner sc = new Scanner(System.in);
       ^
Main.java:7: error: illegal start of expression
????????????????Scanner sc = new Scanner(System.in);
        ^
Main.java:7: error: illegal start of expression
????????????????Scanner sc = new Scanner(System.in);
         ^
Main.java:7: error: illegal start of expression
????????????????Scanner sc = new Scanner(System.in);
          ^
Main.java:7: error: illegal start of expression
????????????????Scanner sc = new Scanner(System.in);
           ^
Main.java:7: error: illegal start of expression
????????????????Scanner sc = new Scanner(System.in);
            ^
Main.java:7: error: illegal start of expression
????????????????Scanner sc = new Scanner(System.in);
             ^
Main.java:7: error: illegal start of expression
????????????????Scanner sc = new Scanner(System.in);
              ^
Main.java:7: error: illegal start of expression
????????????????Scanner sc = new Scanner(System.in);
               ^
Main.java:7: error: : expected
????????????????Scanner sc = new Scanner(System.in);
                       ^
Main.java:7: error: : expected
????????????????Scanner sc = new Scanner(System.in);
                                                   ^
36 errors
printing javac parameters to: /w/javac.20260128_024353.args