0_0_16394278_3617.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16394278_3617.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16394278_3617.cpp:4:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16394278_3617.cpp: In function 'll solve(int)':
0_0_16394278_3617.cpp:26:26: error: 'c' cannot be used as a function
if (c (n + 1) / 2) c = (c - (n + 1) / 2) * 2;
^
0_0_16394278_3617.cpp: In function 'int main()':
0_0_16394278_3617.cpp:34:19: error: 'scanf' was not declared in this scope
scanf("%d", &t);
^
0_0_16394278_3617.cpp:39:9: error: expected ';' before 'while'
while (m--) {
^
0_0_16394278_3617.cpp:39:9: error: expected primary-expression before 'while'
0_0_16394278_3617.cpp:39:9: error: expected ')' before 'while'
0_0_16394278_3617.cpp:42:43: error: 'printf' was not declared in this scope
else printf("%lld\n", solve(c));
^
|