0_0_30166223_15505.cpp:15:1: error: expected ',' or ';' before 'int'
int n, m, q;
^
0_0_30166223_15505.cpp: In function 'll solve(ll)':
0_0_30166223_15505.cpp:31:19: error: 'n' was not declared in this scope
while (now <= n) {
^
0_0_30166223_15505.cpp: In function 'int main()':
0_0_30166223_15505.cpp:73:28: error: 'n' was not declared in this scope
scanf("%d %d %d", &n, &m, &q);
^
0_0_30166223_15505.cpp:73:32: error: 'm' was not declared in this scope
scanf("%d %d %d", &n, &m, &q);
^
0_0_30166223_15505.cpp:73:36: error: 'q' was not declared in this scope
scanf("%d %d %d", &n, &m, &q);
^
|