0_0_39290552_4231.cpp:8:1: error: 'll' does not name a type
8 | ll res;
| ^~
0_0_39290552_4231.cpp: In function 'void get(int, int)':
0_0_39290552_4231.cpp:12:13: error: 'res' was not declared in this scope
12 | res += 2*d[x][i]; // 每个dis的贡献都是二倍
| ^~~
0_0_39290552_4231.cpp: At global scope:
0_0_39290552_4231.cpp:18:1: error: 'll' does not name a type
18 | ll gcd(ll a, ll b){return b == 0 ? a : gcd(b, a%b);}
| ^~
0_0_39290552_4231.cpp: In function 'int main()':
0_0_39290552_4231.cpp:38:9: error: 'res' was not declared in this scope
38 | res = 0;
| ^~~
0_0_39290552_4231.cpp:61:9: error: 'll' was not declared in this scope
61 | ll all = 1ll*(t + 1) * (t + 1);
| ^~
0_0_39290552_4231.cpp:62:11: error: expected ';' before 'g'
62 | ll g = gcd(all, res);
| ^~
| ;
0_0_39290552_4231.cpp:63:35: error: 'g' was not declared in this scope
63 | printf("%lld/%lld\n", res/g, all/g);
| ^
0_0_39290552_4231.cpp:63:38: error: 'all' was not declared in this scope
63 | printf("%lld/%lld\n", res/g, all/g);
| ^~~
0_0_39290552_4231.cpp:63:38: note: suggested alternatives:
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/filesystem:46,
from .\stdc++.h:200:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/fs_fwd.h:154:7: note: 'std::filesystem::perms::all'
154 | all = 0777,
| ^~~
In file included from .\stdc++.h:89:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/ranges:1308:27: note: 'std::ranges::views::all'
1308 | inline constexpr _All all;
| ^~~
|