0_0_34157597_9428.cpp: In function 'int main()':
0_0_34157597_9428.cpp:3:5: error: 'longlong' was not declared in this scope
longlong n, max;
^
0_0_34157597_9428.cpp:4:16: error: 'n' was not declared in this scope
scanf("ll%d",&n);
^
0_0_34157597_9428.cpp:5:11: error: expected ';' before 'sum'
longlong sum;
^
0_0_34157597_9428.cpp:6:2: error: 'sum' was not declared in this scope
sum = (n + 1)*n / 2;
^
0_0_34157597_9428.cpp:9:4: error: 'max' was not declared in this scope
max = sum % i;
^
0_0_34157597_9428.cpp:13:17: error: 'max' was not declared in this scope
printf("ll%d", max);
^
|