0_0_24418927_25657.cpp:17:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_24418927_25657.cpp:18:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_24418927_25657.cpp:19:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_24418927_25657.cpp:21:12: error: '__int64' does not name a type
#define LL __int64
^
0_0_24418927_25657.cpp:24:2: note: in expansion of macro 'LL'
LL x,y;
^
0_0_24418927_25657.cpp:26:8: error: expected ')' before '_x'
FS(LL _x,LL _y){
^
0_0_24418927_25657.cpp: In member function 'FS FS::hj()':
0_0_24418927_25657.cpp:21:12: error: '__int64' was not declared in this scope
#define LL __int64
^
0_0_24418927_25657.cpp:31:3: note: in expansion of macro 'LL'
LL div=__gcd(x,y);
^
0_0_24418927_25657.cpp:32:3: error: 'x' was not declared in this scope
x/=div;
^
0_0_24418927_25657.cpp:32:6: error: 'div' was not declared in this scope
x/=div;
^
0_0_24418927_25657.cpp:33:3: error: 'y' was not declared in this scope
y/=div;
^
0_0_24418927_25657.cpp: In member function 'FS FS::operator+(const FS&)':
0_0_24418927_25657.cpp:21:12: error: '__int64' was not declared in this scope
#define LL __int64
^
0_0_24418927_25657.cpp:36:3: note: in expansion of macro 'LL'
LL fz=x*tmp.y+tmp.x*y,
^
0_0_24418927_25657.cpp:38:6: error: 'fz' was not declared in this scope
if(fz==0) return FS(0,1);
^
0_0_24418927_25657.cpp:38:26: error: no matching function for call to 'FS::FS(int, int)'
if(fz==0) return FS(0,1);
^
0_0_24418927_25657.cpp:38:26: note: candidates are:
0_0_24418927_25657.cpp:25:2: note: FS::FS()
FS(){}
^
0_0_24418927_25657.cpp:25:2: note: candidate expects 0 arguments, 2 provided
0_0_24418927_25657.cpp:23:8: note: constexpr FS::FS(const FS&)
struct FS{
^
0_0_24418927_25657.cpp:23:8: note: candidate expects 1 argument, 2 provided
0_0_24418927_25657.cpp:23:8: note: constexpr FS::FS(FS&&)
0_0_24418927_25657.cpp:23:8: note: candidate expects 1 argument, 2 provided
0_0_24418927_25657.cpp:39:6: error: expected ';' before 'div'
LL div=__gcd(fz,fm);
^
0_0_24418927_25657.cpp:40:13: error: 'fz' was not declared in this scope
return FS(fz/div,fm/div);
^
0_0_24418927_25657.cpp:40:16: error: 'div' was not declared in this scope
return FS(fz/div,fm/div);
^
0_0_24418927_25657.cpp:40:20: error: 'fm' was not declared in this scope
return FS(fz/div,fm/div);
^
0_0_24418927_25657.cpp: At global scope:
0_0_24418927_25657.cpp:21:12: error: '__int64' does not name a type
#define LL __int64
^
0_0_24418927_25657.cpp:43:1: note: in expansion of macro 'LL'
LL C[N][N];
^
0_0_24418927_25657.cpp: In function 'void init()':
0_0_24418927_25657.cpp:46:21: error: 'struct FS' has no member named 'x'
printf(" %d",a[i].x*lcm/a[i].y);
^
0_0_24418927_25657.cpp:46:23: error: 'lcm' was not declared in this scope
printf(" %d",a[i].x*lcm/a[i].y);
^
0_0_24418927_25657.cpp:46:32: error: 'struct FS' has no member named 'y'
printf(" %d",a[i].x*lcm/a[i].y);
^
0_0_24418927_25657.cpp:46:33: error: 'printf' was not declared in this scope
printf(" %d",a[i].x*lcm/a[i].y);
^
0_0_24418927_25657.cpp:48:9: error: 'puts' was not declared in this scope
puts("");
^
0_0_24418927_25657.cpp:49:9: error: return-statement with a value, in function returning 'void' [-fpermissive]
return 0;
^
|