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_33509083_31316.cpp:4:2: error: stray '#' in program
     if(b == 0)
  ^
0_0_33509083_31316.cpp:4:8: error: stray '#' in program
     if(b == 0)
        ^
0_0_33509083_31316.cpp:4:14: error: stray '#' in program
     if(b == 0)
              ^
0_0_33509083_31316.cpp:5:2: error: stray '#' in program
         return a;
  ^
0_0_33509083_31316.cpp:5:8: error: stray '#' in program
         return a;
        ^
0_0_33509083_31316.cpp:5:14: error: stray '#' in program
         return a;
              ^
0_0_33509083_31316.cpp:5:20: error: stray '#' in program
         return a;
                    ^
0_0_33509083_31316.cpp:5:26: error: stray '#' in program
         return a;
                          ^
0_0_33509083_31316.cpp:5:32: error: stray '#' in program
         return a;
                                ^
0_0_33509083_31316.cpp:5:38: error: stray '#' in program
         return a;
                                      ^
0_0_33509083_31316.cpp:6:2: error: stray '#' in program
     return gcd(b, a % b);
  ^
0_0_33509083_31316.cpp:6:8: error: stray '#' in program
     return gcd(b, a % b);
        ^
0_0_33509083_31316.cpp:6:14: error: stray '#' in program
     return gcd(b, a % b);
              ^
0_0_33509083_31316.cpp:10:2: error: stray '#' in program
     int a, b;
  ^
0_0_33509083_31316.cpp:10:8: error: stray '#' in program
     int a, b;
        ^
0_0_33509083_31316.cpp:10:14: error: stray '#' in program
     int a, b;
              ^
0_0_33509083_31316.cpp:11:2: error: stray '#' in program
     while(scanf("%d %d", &a, &b) != EOF)
  ^
0_0_33509083_31316.cpp:11:8: error: stray '#' in program
     while(scanf("%d %d", &a, &b) != EOF)
        ^
0_0_33509083_31316.cpp:11:14: error: stray '#' in program
     while(scanf("%d %d", &a, &b) != EOF)
              ^
0_0_33509083_31316.cpp:12:2: error: stray '#' in program
     {
  ^
0_0_33509083_31316.cpp:12:8: error: stray '#' in program
     {
        ^
0_0_33509083_31316.cpp:12:14: error: stray '#' in program
     {
              ^
0_0_33509083_31316.cpp:13:2: error: stray '#' in program
         printf("%d\n", (a / gcd(a, b) * b)); //最小公倍数 = a * b / (a,b)最大公因数
  ^
0_0_33509083_31316.cpp:13:8: error: stray '#' in program
         printf("%d\n", (a / gcd(a, b) * b)); //最小公倍数 = a * b / (a,b)最大公因数
        ^
0_0_33509083_31316.cpp:13:14: error: stray '#' in program
         printf("%d\n", (a / gcd(a, b) * b)); //最小公倍数 = a * b / (a,b)最大公因数
              ^
0_0_33509083_31316.cpp:13:20: error: stray '#' in program
         printf("%d\n", (a / gcd(a, b) * b)); //最小公倍数 = a * b / (a,b)最大公因数
                    ^
0_0_33509083_31316.cpp:13:26: error: stray '#' in program
         printf("%d\n", (a / gcd(a, b) * b)); //最小公倍数 = a * b / (a,b)最大公因数
                          ^
0_0_33509083_31316.cpp:13:32: error: stray '#' in program
         printf("%d\n", (a / gcd(a, b) * b)); //最小公倍数 = a * b / (a,b)最大公因数
                                ^
0_0_33509083_31316.cpp:13:38: error: stray '#' in program
         printf("%d\n", (a / gcd(a, b) * b)); //最小公倍数 = a * b / (a,b)最大公因数
                                      ^
0_0_33509083_31316.cpp:14:2: error: stray '#' in program
     }
  ^
0_0_33509083_31316.cpp:14:8: error: stray '#' in program
     }
        ^
0_0_33509083_31316.cpp:14:14: error: stray '#' in program
     }
              ^
0_0_33509083_31316.cpp:15:2: error: stray '#' in program
     return 0;
  ^
0_0_33509083_31316.cpp:15:8: error: stray '#' in program
     return 0;
        ^
0_0_33509083_31316.cpp:15:14: error: stray '#' in program
     return 0;
              ^
0_0_33509083_31316.cpp: In function 'int gcd(int, int)':
0_0_33509083_31316.cpp:4:3: error: lvalue required as unary '&' operand
     if(b == 0)
   ^
0_0_33509083_31316.cpp:4:9: error: lvalue required as unary '&' operand
     if(b == 0)
         ^
0_0_33509083_31316.cpp:4:15: error: lvalue required as unary '&' operand
     if(b == 0)
               ^
0_0_33509083_31316.cpp:5:3: error: lvalue required as unary '&' operand
         return a;
   ^
0_0_33509083_31316.cpp:5:9: error: lvalue required as unary '&' operand
         return a;
         ^
0_0_33509083_31316.cpp:5:15: error: lvalue required as unary '&' operand
         return a;
               ^
0_0_33509083_31316.cpp:5:21: error: lvalue required as unary '&' operand
         return a;
                     ^
0_0_33509083_31316.cpp:5:27: error: lvalue required as unary '&' operand
         return a;
                           ^
0_0_33509083_31316.cpp:5:33: error: lvalue required as unary '&' operand
         return a;
                                 ^
0_0_33509083_31316.cpp:5:39: error: lvalue required as unary '&' operand
         return a;
                                       ^
0_0_33509083_31316.cpp:6:3: error: lvalue required as unary '&' operand
     return gcd(b, a % b);
   ^
0_0_33509083_31316.cpp:6:9: error: lvalue required as unary '&' operand
     return gcd(b, a % b);
         ^
0_0_33509083_31316.cpp:6:15: error: lvalue required as unary '&' operand
     return gcd(b, a % b);
               ^
0_0_33509083_31316.cpp: In function 'int main()':
0_0_33509083_31316.cpp:10:3: error: lvalue required as unary '&' operand
     int a, b;
   ^
0_0_33509083_31316.cpp:10:9: error: lvalue required as unary '&' operand
     int a, b;
         ^
0_0_33509083_31316.cpp:10:15: error: lvalue required as unary '&' operand
     int a, b;
               ^
0_0_33509083_31316.cpp:11:3: error: lvalue required as unary '&' operand
     while(scanf("%d %d", &a, &b) != EOF)
   ^
0_0_33509083_31316.cpp:11:9: error: lvalue required as unary '&' operand
     while(scanf("%d %d", &a, &b) != EOF)
         ^
0_0_33509083_31316.cpp:11:15: error: lvalue required as unary '&' operand
     while(scanf("%d %d", &a, &b) != EOF)
               ^
0_0_33509083_31316.cpp:12:3: error: lvalue required as unary '&' operand
     {
   ^
0_0_33509083_31316.cpp:12:9: error: lvalue required as unary '&' operand
     {
         ^
0_0_33509083_31316.cpp:12:15: error: lvalue required as unary '&' operand
     {
               ^
0_0_33509083_31316.cpp:13:3: error: lvalue required as unary '&' operand
         printf("%d\n", (a / gcd(a, b) * b)); //最小公倍数 = a * b / (a,b)最大公因数
   ^
0_0_33509083_31316.cpp:13:9: error: lvalue required as unary '&' operand
         printf("%d\n", (a / gcd(a, b) * b)); //最小公倍数 = a * b / (a,b)最大公因数
         ^
0_0_33509083_31316.cpp:13:15: error: lvalue required as unary '&' operand
         printf("%d\n", (a / gcd(a, b) * b)); //最小公倍数 = a * b / (a,b)最大公因数
               ^
0_0_33509083_31316.cpp:13:21: error: lvalue required as unary '&' operand
         printf("%d\n", (a / gcd(a, b) * b)); //最小公倍数 = a * b / (a,b)最大公因数
                     ^
0_0_33509083_31316.cpp:13:27: error: lvalue required as unary '&' operand
         printf("%d\n", (a / gcd(a, b) * b)); //最小公倍数 = a * b / (a,b)最大公因数
                           ^
0_0_33509083_31316.cpp:13:33: error: lvalue required as unary '&' operand
         printf("%d\n", (a / gcd(a, b) * b)); //最小公倍数 = a * b / (a,b)最大公因数
                                 ^
0_0_33509083_31316.cpp:13:39: error: lvalue required as unary '&' operand
         printf("%d\n", (a / gcd(a, b) * b)); //最小公倍数 = a * b / (a,b)最大公因数
                                       ^
0_0_33509083_31316.cpp:14:3: error: lvalue required as unary '&' operand
     }
   ^
0_0_33509083_31316.cpp:14:9: error: lvalue required as unary '&' operand
     }
         ^
0_0_33509083_31316.cpp:14:15: error: lvalue required as unary '&' operand
     }
               ^
0_0_33509083_31316.cpp:15:3: error: lvalue required as unary '&' operand
     return 0;
   ^
0_0_33509083_31316.cpp:15:9: error: lvalue required as unary '&' operand
     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-11-29 23:42:02, Gzip enabled