0_0_36718895_28774.cpp:21:1: error: 'll' does not name a type
ll res;
^
0_0_36718895_28774.cpp: In function 'void get(int, int)':
0_0_36718895_28774.cpp:25:1: error: 'res' was not declared in this scope
res += 2*d[x][i]; // dis
^
0_0_36718895_28774.cpp: At global scope:
0_0_36718895_28774.cpp:31:1: error: 'll' does not name a type
ll gcd(ll a, ll b){return b == 0 ? a : gcd(b, a%b);}
^
0_0_36718895_28774.cpp: In function 'int main()':
0_0_36718895_28774.cpp:51:1: error: 'res' was not declared in this scope
res = 0;
^
0_0_36718895_28774.cpp:74:1: error: 'll' was not declared in this scope
ll all = 1ll*(t + 1) * (t + 1);
^
0_0_36718895_28774.cpp:75:4: error: expected ';' before 'g'
ll g = gcd(all, res);
^
0_0_36718895_28774.cpp:76:27: error: 'g' was not declared in this scope
printf("%lld/%lld\n", res/g, all/g);
^
0_0_36718895_28774.cpp:76:30: error: 'all' was not declared in this scope
printf("%lld/%lld\n", res/g, all/g);
^
|