0_0_18323502_31361.cpp:1:1: error: 'include' does not name a type
include "bits/stdc++.h"
^
0_0_18323502_31361.cpp: In function 'int main()':
0_0_18323502_31361.cpp:12:19: error: 'scanf' was not declared in this scope
scanf("%d", &T);
^
0_0_18323502_31361.cpp:15:30: error: 'memset' was not declared in this scope
memset(a, 0, sizeof a);
^
0_0_18323502_31361.cpp:21:72: error: 'max' was not declared in this scope
ans += max(0, a[i][j] - a[i + MOVE_X[k]][j + MOVE_Y[k]]);
^
0_0_18323502_31361.cpp:24:27: error: 'printf' was not declared in this scope
printf("%d\n", ans);
^
|