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_17915714_15151.cpp:9:2: error: stray '#' in program
     if(b == 0)
  ^
0_0_17915714_15151.cpp:9:8: error: stray '#' in program
     if(b == 0)
        ^
0_0_17915714_15151.cpp:9:14: error: stray '#' in program
     if(b == 0)
              ^
0_0_17915714_15151.cpp:9:20: error: stray '#' in program
     if(b == 0)
                    ^
0_0_17915714_15151.cpp:10:2: error: stray '#' in program
         return a;
  ^
0_0_17915714_15151.cpp:10:8: error: stray '#' in program
         return a;
        ^
0_0_17915714_15151.cpp:10:14: error: stray '#' in program
         return a;
              ^
0_0_17915714_15151.cpp:10:20: error: stray '#' in program
         return a;
                    ^
0_0_17915714_15151.cpp:10:26: error: stray '#' in program
         return a;
                          ^
0_0_17915714_15151.cpp:10:32: error: stray '#' in program
         return a;
                                ^
0_0_17915714_15151.cpp:10:38: error: stray '#' in program
         return a;
                                      ^
0_0_17915714_15151.cpp:10:44: error: stray '#' in program
         return a;
                                            ^
0_0_17915714_15151.cpp:11:2: error: stray '#' in program
     return gcd(b, a % b);
  ^
0_0_17915714_15151.cpp:11:8: error: stray '#' in program
     return gcd(b, a % b);
        ^
0_0_17915714_15151.cpp:11:14: error: stray '#' in program
     return gcd(b, a % b);
              ^
0_0_17915714_15151.cpp:11:20: error: stray '#' in program
     return gcd(b, a % b);
                    ^
0_0_17915714_15151.cpp:16:2: error: stray '#' in program
     int tt,n;
  ^
0_0_17915714_15151.cpp:16:8: error: stray '#' in program
     int tt,n;
        ^
0_0_17915714_15151.cpp:16:14: error: stray '#' in program
     int tt,n;
              ^
0_0_17915714_15151.cpp:16:20: error: stray '#' in program
     int tt,n;
                    ^
0_0_17915714_15151.cpp:17:2: error: stray '#' in program
     scanf("%d",&tt);
  ^
0_0_17915714_15151.cpp:17:8: error: stray '#' in program
     scanf("%d",&tt);
        ^
0_0_17915714_15151.cpp:17:14: error: stray '#' in program
     scanf("%d",&tt);
              ^
0_0_17915714_15151.cpp:17:20: error: stray '#' in program
     scanf("%d",&tt);
                    ^
0_0_17915714_15151.cpp:18:2: error: stray '#' in program
     while(tt--)
  ^
0_0_17915714_15151.cpp:18:8: error: stray '#' in program
     while(tt--)
        ^
0_0_17915714_15151.cpp:18:14: error: stray '#' in program
     while(tt--)
              ^
0_0_17915714_15151.cpp:18:20: error: stray '#' in program
     while(tt--)
                    ^
0_0_17915714_15151.cpp:19:2: error: stray '#' in program
     {
  ^
0_0_17915714_15151.cpp:19:8: error: stray '#' in program
     {
        ^
0_0_17915714_15151.cpp:19:14: error: stray '#' in program
     {
              ^
0_0_17915714_15151.cpp:19:20: error: stray '#' in program
     {
                    ^
0_0_17915714_15151.cpp:24:14: error: stray '#' in program
                 scanf("%d",&num[i]);
              ^
0_0_17915714_15151.cpp:24:20: error: stray '#' in program
                 scanf("%d",&num[i]);
                    ^
0_0_17915714_15151.cpp:24:26: error: stray '#' in program
                 scanf("%d",&num[i]);
                          ^
0_0_17915714_15151.cpp:24:32: error: stray '#' in program
                 scanf("%d",&num[i]);
                                ^
0_0_17915714_15151.cpp:25:14: error: stray '#' in program
                 k1+=num[i];
              ^
0_0_17915714_15151.cpp:25:20: error: stray '#' in program
                 k1+=num[i];
                    ^
0_0_17915714_15151.cpp:25:26: error: stray '#' in program
                 k1+=num[i];
                          ^
0_0_17915714_15151.cpp:25:32: error: stray '#' in program
                 k1+=num[i];
                                ^
0_0_17915714_15151.cpp:26:14: error: stray '#' in program
                 k2+=(num[i]*num[i]);
              ^
0_0_17915714_15151.cpp:26:20: error: stray '#' in program
                 k2+=(num[i]*num[i]);
                    ^
0_0_17915714_15151.cpp:26:26: error: stray '#' in program
                 k2+=(num[i]*num[i]);
                          ^
0_0_17915714_15151.cpp:26:32: error: stray '#' in program
                 k2+=(num[i]*num[i]);
                                ^
0_0_17915714_15151.cpp:35:13: error: stray '#' in program
                   std::cout<<k2<<"/1"<<std::endl;
             ^
0_0_17915714_15151.cpp:35:19: error: stray '#' in program
                   std::cout<<k2<<"/1"<<std::endl;
                   ^
0_0_17915714_15151.cpp:35:25: error: stray '#' in program
                   std::cout<<k2<<"/1"<<std::endl;
                         ^
0_0_17915714_15151.cpp:35:31: error: stray '#' in program
                   std::cout<<k2<<"/1"<<std::endl;
                               ^
0_0_17915714_15151.cpp:41:2: error: stray '#' in program
     }
  ^
0_0_17915714_15151.cpp:41:8: error: stray '#' in program
     }
        ^
0_0_17915714_15151.cpp:41:14: error: stray '#' in program
     }
              ^
0_0_17915714_15151.cpp:41:20: error: stray '#' in program
     }
                    ^
0_0_17915714_15151.cpp:42:2: error: stray '#' in program
     return 0;
  ^
0_0_17915714_15151.cpp:42:8: error: stray '#' in program
     return 0;
        ^
0_0_17915714_15151.cpp:42:14: error: stray '#' in program
     return 0;
              ^
0_0_17915714_15151.cpp:42:20: error: stray '#' in program
     return 0;
                    ^
0_0_17915714_15151.cpp: In function 'long long int gcd(long long int, long long int)':
0_0_17915714_15151.cpp:9:3: error: lvalue required as unary '&' operand
     if(b == 0)
   ^
0_0_17915714_15151.cpp:9:9: error: lvalue required as unary '&' operand
     if(b == 0)
         ^
0_0_17915714_15151.cpp:9:15: error: lvalue required as unary '&' operand
     if(b == 0)
               ^
0_0_17915714_15151.cpp:9:21: error: lvalue required as unary '&' operand
     if(b == 0)
                     ^
0_0_17915714_15151.cpp:10:3: error: lvalue required as unary '&' operand
         return a;
   ^
0_0_17915714_15151.cpp:10:9: error: lvalue required as unary '&' operand
         return a;
         ^
0_0_17915714_15151.cpp:10:15: error: lvalue required as unary '&' operand
         return a;
               ^
0_0_17915714_15151.cpp:10:21: error: lvalue required as unary '&' operand
         return a;
                     ^
0_0_17915714_15151.cpp:10:27: error: lvalue required as unary '&' operand
         return a;
                           ^
0_0_17915714_15151.cpp:10:33: error: lvalue required as unary '&' operand
         return a;
                                 ^
0_0_17915714_15151.cpp:10:39: error: lvalue required as unary '&' operand
         return a;
                                       ^
0_0_17915714_15151.cpp:10:45: error: lvalue required as unary '&' operand
         return a;
                                             ^
0_0_17915714_15151.cpp:11:3: error: lvalue required as unary '&' operand
     return gcd(b, a % b);
   ^
0_0_17915714_15151.cpp:11:9: error: lvalue required as unary '&' operand
     return gcd(b, a % b);
         ^
0_0_17915714_15151.cpp:11:15: error: lvalue required as unary '&' operand
     return gcd(b, a % b);
               ^
0_0_17915714_15151.cpp:11:21: error: lvalue required as unary '&' operand
     return gcd(b, a % b);
                     ^
0_0_17915714_15151.cpp: In function 'int main()':
0_0_17915714_15151.cpp:16:3: error: lvalue required as unary '&' operand
     int tt,n;
   ^
0_0_17915714_15151.cpp:16:9: error: lvalue required as unary '&' 


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-12-02 03:43:18, Gzip enabled