41325614313016171819212071589101112132223242532262728293334
 "use strict"    let a = arg.split(' ');function main(arg) {    let x = a[0];    let y = a[1];if(isoddX && isoddY)      console.log(((parseInt( x / 2) + 1) * (parseInt(y/2) + 1)) +  parseInt(x/2) * parseInt(y/2));}else if(isoddX){    console.log((parseInt( y / 2)) * x);}  {    let isoddX;    let isoddY;     if(x % 2 === 1) isoddX = true;    if(y % 2 === 1) isoddY = true;    else if(isoddY){    console.log((parseInt( x / 2)) * y); } else{    console.log((parseInt( x / 2)) * y);}}main(require('fs').readFileSync('/dev/stdin', 'utf8'));
Find
No Results
}
else if(isoddY){
	console.log((parseInt( x / 2)) * y);

}
else
{
	console.log((parseInt( x / 2)) * y);
}

input
4 4
output
8




AtCoder-JsDebugger
https://s-yoshiki.github.io/AtCoder-JsDebugger/
新しいバージョンを公開予定です。こちらから試せます。