You are viewing a single comment's thread. Return to all comments →
int main(){ int n; int m; cin >> n >> m; if(n<=2 && m<=2) cout<<"1"; else { cout<<((n%2)+(n/2))*((m/2)+(m%2))<<endl; } return 0; }
Seems like cookies are disabled on this browser, please enable them to open this website
Army Game
You are viewing a single comment's thread. Return to all comments →