0_0_30353616_3621.cpp:1:1: error: 'include' does not name a type
include<bits/stdc++.h>
^
0_0_30353616_3621.cpp: In function 'int main()':
0_0_30353616_3621.cpp:6:18: error: 'scanf' was not declared in this scope
scanf("%d",&T);
^
0_0_30353616_3621.cpp:10:44: error: 'printf' was not declared in this scope
if(a > 2*b || 5*a < b) printf("0\n");
^
0_0_30353616_3621.cpp:13:30: error: '__gcd' was not declared in this scope
GCD = __gcd(L, sn);
^
0_0_30353616_3621.cpp:15:13: error: 'string' was not declared in this scope
string ans = string(L, '5');
^
0_0_30353616_3621.cpp:17:23: error: 'ans' was not declared in this scope
for(int i=ans.size()-1;i+1;i--)
^
0_0_30353616_3621.cpp:19:32: error: 'min' was not declared in this scope
val = min(sn, 4);
^
0_0_30353616_3621.cpp:24:32: error: 'min' was not declared in this scope
val = min(sn, 4);
^
0_0_30353616_3621.cpp:25:17: error: 'ans' was not declared in this scope
ans = char(val+'0') + ans;
^
0_0_30353616_3621.cpp:28:28: error: 'ans' was not declared in this scope
printf("%s\n", ans.c_str());
^
0_0_30353616_3621.cpp:28:39: error: 'printf' was not declared in this scope
printf("%s\n", ans.c_str());
^
|