0_0_22552194_14328.cpp: In function 'void init()':
0_0_22552194_14328.cpp:18:5: error: 'now' was not declared in this scope
now = 1;
^
0_0_22552194_14328.cpp: In function 'void solve()':
0_0_22552194_14328.cpp:23:11: error: 'n' was not declared in this scope
while(n--)
^
0_0_22552194_14328.cpp:25:23: error: 'op' was not declared in this scope
scanf("%lld",&op);
^
0_0_22552194_14328.cpp:28:27: error: 'x' was not declared in this scope
scanf("%lld",&x);
^
0_0_22552194_14328.cpp:29:18: error: 'now' was not declared in this scope
if(x>now)
^
0_0_22552194_14328.cpp:35:13: error: 'now' was not declared in this scope
now += x;
^
0_0_22552194_14328.cpp:42:31: error: 'now' was not declared in this scope
else printf("%lld\n", now);
^
0_0_22552194_14328.cpp: In function 'int main()':
0_0_22552194_14328.cpp:48:25: error: 'n' was not declared in this scope
while(scanf("%lld",&n)!=EOF)
^
|