0_0_31694630_20398.cpp: In function 'void init()': 0_0_31694630_20398.cpp:25:57: error: 'mod' was not declared in this scope a[i][j] = (a[i - 1][j - 1] + a[i - 1][j]) % mod; ^