0_0_19763000_2288.cpp: In function 'int main()':
0_0_19763000_2288.cpp:127:30: error: 'M' was not declared in this scope
while(scanf("%d%d%d",&n,&M,&P) == 3)
^
0_0_19763000_2288.cpp:127:33: error: 'P' was not declared in this scope
while(scanf("%d%d%d",&n,&M,&P) == 3)
^
|