0_0_33073720_29524.cpp: In function 'int main()':
0_0_33073720_29524.cpp:55:6: error: 'n' was not declared in this scope
rr(n , k) ;
^
0_0_33073720_29524.cpp:17:36: note: in definition of macro 'rr'
#define rr(x , y) scanf("%d%d" , &x , &y)
^
0_0_33073720_29524.cpp:55:10: error: 'k' was not declared in this scope
rr(n , k) ;
^
0_0_33073720_29524.cpp:17:41: note: in definition of macro 'rr'
#define rr(x , y) scanf("%d%d" , &x , &y)
^
0_0_33073720_29524.cpp:56:21: error: 'a' was not declared in this scope
rep(i , 1 , n) r(a[i]) ;
^
0_0_33073720_29524.cpp:16:28: note: in definition of macro 'r'
#define r(x) scanf("%d", &x)
^
0_0_33073720_29524.cpp:57:3: error: 'sum' was not declared in this scope
sum[0] = 0 ;
^
0_0_33073720_29524.cpp:58:41: error: 'a' was not declared in this scope
rep(i , 1 , n) sum[i] = sum[i - 1] + a[i] ;
^
0_0_33073720_29524.cpp:64:13: error: 'ok' was not declared in this scope
if(ok(mid)) ans = mid , r = mid - 1 ;
^
|