Language: C++

#include <bits/stdc++.h>
using namespace std;
#define rep(i,n) for(int (i)=0; (i)<(n); (i)++)
#define all(v) (v).begin(), (v).end()

int main() {
    int n,m,k;
    cin >> n >> m >> k;

    for(int i=0; i<=n, i++){
        rep(int j=0; j<=m, j++){
            if(m*i + n*j - 2*i*j == k){
                cout << "Yes";
                return 0;
            }
        }
    }
    cout << "No";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:27: error: expected ';' before ')' token
   10 |     for(int i=0; i<=n, i++){
      |                           ^
      |                           ;
a.cc:3:22: error: expected primary-expression before 'int'
    3 | #define rep(i,n) for(int (i)=0; (i)<(n); (i)++)
      |                      ^~~
a.cc:11:9: note: in expansion of macro 'rep'
   11 |         rep(int j=0; j<=m, j++){
      |         ^~~
a.cc:11:22: error: 'j' was not declared in this scope
   11 |         rep(int j=0; j<=m, j++){
      |                      ^
a.cc:3:27: note: in definition of macro 'rep'
    3 | #define rep(i,n) for(int (i)=0; (i)<(n); (i)++)
      |                           ^
a.cc:3:28: error: expected ';' before ')' token
    3 | #define rep(i,n) for(int (i)=0; (i)<(n); (i)++)
      |                            ^
a.cc:11:9: note: in expansion of macro 'rep'
   11 |         rep(int j=0; j<=m, j++){
      |         ^~~
a.cc:3:29: error: expected primary-expression before '=' token
    3 | #define rep(i,n) for(int (i)=0; (i)<(n); (i)++)
      |                             ^
a.cc:11:9: note: in expansion of macro 'rep'
   11 |         rep(int j=0; j<=m, j++){
      |         ^~~
a.cc:11:13: error: expected primary-expression before 'int'
   11 |         rep(int j=0; j<=m, j++){
      |             ^~~
a.cc:3:34: note: in definition of macro 'rep'
    3 | #define rep(i,n) for(int (i)=0; (i)<(n); (i)++)
      |                                  ^
a.cc:11:13: error: expected ')' before 'int'
   11 |         rep(int j=0; j<=m, j++){
      |             ^~~
a.cc:3:34: note: in definition of macro 'rep'
    3 | #define rep(i,n) for(int (i)=0; (i)<(n); (i)++)
      |                                  ^
a.cc:3:33: note: to match this '('
    3 | #define rep(i,n) for(int (i)=0; (i)<(n); (i)++)
      |                                 ^
a.cc:11:9: note: in expansion of macro 'rep'
   11 |         rep(int j=0; j<=m, j++){
      |         ^~~
a.cc:11:22: error: 'j' was not declared in this scope
   11 |         rep(int j=0; j<=m, j++){
      |                      ^
a.cc:3:34: note: in definition of macro 'rep'
    3 | #define rep(i,n) for(int (i)=0; (i)<(n); (i)++)
      |                                  ^
a.cc:11:13: error: expected primary-expression before 'int'
   11 |         rep(int j=0; j<=m, j++){
      |             ^~~
a.cc:3:43: note: in definition of macro 'rep'
    3 | #define rep(i,n) for(int (i)=0; (i)<(n); (i)++)
      |                                           ^
a.cc:11:13: error: expected ')' before 'int'
   11 |         rep(int j=0; j<=m, j++){
      |             ^~~
a.cc:3:43: note: in definition of macro 'rep'
    3 | #define rep(i,n) for(int (i)=0; (i)<(n); (i)++)
      |                                           ^
a.cc:3:42: note: to match this '('
    3 | #define rep(i,n) for(int (i)=0; (i)<(n); (i)++)
      |                                          ^
a.cc:11:9: note: in expansion of macro 'rep'
   11 |         rep(int j=0; j<=m, j++){
      |         ^~~