Language: Java

import java.util.Scanner;
public class Main{
	public static void main(String[] args){
      Scanner scn = new Scanner(System.in);
      int H = scn.nextInt();
      int W = scn.nextInt();
      int ans = switch(H)
        H%2 = 0 -> ans = W*(H/2);
      	H%2 = 1 -> ans = W*(Math.floor(H/2))+Math.ceil(W/2);
      System.out.println(ans);
    }
}

Compiler output:
Main.java:7: error: '{' expected
      int ans = switch(H)
                         ^
Main.java:8: error: case, default, or '}' expected
        H%2 = 0 -> ans = W*(H/2);
        ^
Main.java:8: error: case, default, or '}' expected
        H%2 = 0 -> ans = W*(H/2);
         ^
Main.java:8: error: case, default, or '}' expected
        H%2 = 0 -> ans = W*(H/2);
          ^
Main.java:8: error: case, default, or '}' expected
        H%2 = 0 -> ans = W*(H/2);
            ^
Main.java:8: error: case, default, or '}' expected
        H%2 = 0 -> ans = W*(H/2);
              ^
Main.java:8: error: case, default, or '}' expected
        H%2 = 0 -> ans = W*(H/2);
                ^
Main.java:8: error: case, default, or '}' expected
        H%2 = 0 -> ans = W*(H/2);
                   ^
Main.java:8: error: case, default, or '}' expected
        H%2 = 0 -> ans = W*(H/2);
                       ^
Main.java:8: error: case, default, or '}' expected
        H%2 = 0 -> ans = W*(H/2);
                         ^
Main.java:8: error: case, default, or '}' expected
        H%2 = 0 -> ans = W*(H/2);
                          ^
Main.java:8: error: case, default, or '}' expected
        H%2 = 0 -> ans = W*(H/2);
                           ^
Main.java:8: error: case, default, or '}' expected
        H%2 = 0 -> ans = W*(H/2);
                            ^
Main.java:8: error: case, default, or '}' expected
        H%2 = 0 -> ans = W*(H/2);
                             ^
Main.java:8: error: case, default, or '}' expected
        H%2 = 0 -> ans = W*(H/2);
                              ^
Main.java:8: error: case, default, or '}' expected
        H%2 = 0 -> ans = W*(H/2);
                               ^
Main.java:8: error: case, default, or '}' expected
        H%2 = 0 -> ans = W*(H/2);
                                ^
Main.java:9: error: case, default, or '}' expected
      	H%2 = 1 -> ans = W*(Math.floor(H/2))+Math.ceil(W/2);
      	^
Main.java:9: error: case, default, or '}' expected
      	H%2 = 1 -> ans = W*(Math.floor(H/2))+Math.ceil(W/2);
      	 ^
Main.java:9: error: case, default, or '}' expected
      	H%2 = 1 -> ans = W*(Math.floor(H/2))+Math.ceil(W/2);
      	  ^
Main.java:9: error: case, default, or '}' expected
      	H%2 = 1 -> ans = W*(Math.floor(H/2))+Math.ceil(W/2);
      	    ^
Main.java:9: error: case, default, or '}' expected
      	H%2 = 1 -> ans = W*(Math.floor(H/2))+Math.ceil(W/2);
      	      ^
Main.java:9: error: case, default, or '}' expected
      	H%2 = 1 -> ans = W*(Math.floor(H/2))+Math.ceil(W/2);
      	        ^
Main.java:9: error: case, default, or '}' expected
      	H%2 = 1 -> ans = W*(Math.floor(H/2))+Math.ceil(W/2);
      	           ^
Main.java:9: error: case, default, or '}' expected
      	H%2 = 1 -> ans = W*(Math.floor(H/2))+Math.ceil(W/2);
      	               ^
Main.java:9: error: case, default, or '}' expected
      	H%2 = 1 -> ans = W*(Math.floor(H/2))+Math.ceil(W/2);
      	                 ^
Main.java:9: error: case, default, or '}' expected
      	H%2 = 1 -> ans = W*(Math.floor(H/2))+Math.ceil(W/2);
      	                  ^
Main.java:9: error: case, default, or '}' expected
      	H%2 = 1 -> ans = W*(Math.floor(H/2))+Math.ceil(W/2);
      	                   ^
Main.java:9: error: case, default, or '}' expected
      	H%2 = 1 -> ans = W*(Math.floor(H/2))+Math.ceil(W/2);
      	                    ^
Main.java:9: error: case, default, or '}' expected
      	H%2 = 1 -> ans = W*(Math.floor(H/2))+Math.ceil(W/2);
      	                        ^
Main.java:9: error: case, default, or '}' expected
      	H%2 = 1 -> ans = W*(Math.floor(H/2))+Math.ceil(W/2);
      	                         ^
Main.java:9: error: case, default, or '}' expected
      	H%2 = 1 -> ans = W*(Math.floor(H/2))+Math.ceil(W/2);
      	                              ^
Main.java:9: error: case, default, or '}' expected
      	H%2 = 1 -> ans = W*(Math.floor(H/2))+Math.ceil(W/2);
      	                               ^
Main.java:9: error: case, default, or '}' expected
      	H%2 = 1 -> ans = W*(Math.floor(H/2))+Math.ceil(W/2);
      	                                ^
Main.java:9: error: case, default, or '}' expected
      	H%2 = 1 -> ans = W*(Math.floor(H/2))+Math.ceil(W/2);
      	                                 ^
Main.java:9: error: case, default, or '}' expected
      	H%2 = 1 -> ans = W*(Math.floor(H/2))+Math.ceil(W/2);
      	                                  ^
Main.java:9: error: case, default, or '}' expected
      	H%2 = 1 -> ans = W*(Math.floor(H/2))+Math.ceil(W/2);
      	                                   ^
Main.java:9: error: case, default, or '}' expected
      	H%2 = 1 -> ans = W*(Math.floor(H/2))+Math.ceil(W/2);
      	                                    ^
Main.java:9: error: case, default, or '}' expected
      	H%2 = 1 -> ans = W*(Math.floor(H/2))+Math.ceil(W/2);
      	                                     ^
Main.java:9: error: case, default, or '}' expected
      	H%2 = 1 -> ans = W*(Math.floor(H/2))+Math.ceil(W/2);
      	                                         ^
Main.java:9: error: case, default, or '}' expected
      	H%2 = 1 -> ans = W*(Math.floor(H/2))+Math.ceil(W/2);
      	                                          ^
Main.java:9: error: case, default, or '}' expected
      	H%2 = 1 -> ans = W*(Math.floor(H/2))+Math.ceil(W/2);
      	                                              ^
Main.java:9: error: case, default, or '}' expected
      	H%2 = 1 -> ans = W*(Math.floor(H/2))+Math.ceil(W/2);
      	                                               ^
Main.java:9: error: case, default, or '}' expected
      	H%2 = 1 -> ans = W*(Math.floor(H/2))+Math.ceil(W/2);
      	                                                ^
Main.java:9: error: case, default, or '}' expected
      	H%2 = 1 -> ans = W*(Math.floor(H/2))+Math.ceil(W/2);
      	                                                 ^
Main.java:9: error: case, default, or '}' expected
      	H%2 = 1 -> ans = W*(Math.floor(H/2))+Math.ceil(W/2);
      	                                                  ^
Main.java:9: error: case, default, or '}' expected
      	H%2 = 1 -> ans = W*(Math.floor(H/2))+Math.ceil(W/2);
      	                                                   ^
Main.java:10: error: case, default, or '}' expected
      System.out.println(ans);
      ^
Main.java:10: error: case, default, or '}' expected
      System.out.println(ans);
            ^
Main.java:10: error: case, default, or '}' expected
      System.out.println(ans);
             ^
Main.java:10: error: case, default, or '}' expected
      System.out.println(ans);
                ^
Main.java:10: error: case, default, or '}' expected
      System.out.println(ans);
                 ^
Main.java:10: error: case, default, or '}' expected
      System.out.println(ans);
                        ^
Main.java:10: error: case, default, or '}' expected
      System.out.println(ans);
                         ^
Main.java:10: error: case, default, or '}' expected
      System.out.println(ans);
                            ^
Main.java:10: error: case, default, or '}' expected
      System.out.println(ans);
                             ^
Main.java:11: error: ';' expected
    }
     ^
Main.java:12: error: reached end of file while parsing
}
 ^
58 errors