F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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;
         ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-09-28 01:22:04, Gzip enabled