0_0_15034651_24639.cpp: In function 'int main()':
0_0_15034651_24639.cpp:26:10: error: expected primary-expression before 'long'
while(long long(n) < x && long long(p) < y)
^
0_0_15034651_24639.cpp:26:10: error: expected ')' before 'long'
0_0_15034651_24639.cpp:26:10: error: expected primary-expression before 'long'
0_0_15034651_24639.cpp:38:7: error: expected primary-expression before 'long'
if(long long(n)==x&&long long(p)==y)
^
0_0_15034651_24639.cpp:38:7: error: expected ')' before 'long'
0_0_15034651_24639.cpp:40:12: error: expected primary-expression before 'long'
else if(long long(n)==x&&long long(p)<y)
^
0_0_15034651_24639.cpp:40:12: error: expected ')' before 'long'
0_0_15034651_24639.cpp:41:12: error: expected primary-expression before 'long'
ans+=y-long long(p);
^
|