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_19384701_26306.c: In function 'PowerMod':
0_0_19384701_26306.c:3:2: error: stray '#' in program
     int ans = 1;
  ^
0_0_19384701_26306.c:3:1: error: lvalue required as unary '&' operand
     int ans = 1;
 ^
0_0_19384701_26306.c:3:8: error: stray '#' in program
     int ans = 1;
        ^
0_0_19384701_26306.c:3:7: error: lvalue required as unary '&' operand
     int ans = 1;
       ^
0_0_19384701_26306.c:3:14: error: stray '#' in program
     int ans = 1;
              ^
0_0_19384701_26306.c:3:13: error: lvalue required as unary '&' operand
     int ans = 1;
             ^
0_0_19384701_26306.c:3:20: error: stray '#' in program
     int ans = 1;
                    ^
0_0_19384701_26306.c:3:19: error: lvalue required as unary '&' operand
     int ans = 1;
                   ^
0_0_19384701_26306.c:4:2: error: stray '#' in program
     a = a % 10;
  ^
0_0_19384701_26306.c:4:1: error: lvalue required as unary '&' operand
     a = a % 10;
 ^
0_0_19384701_26306.c:4:8: error: stray '#' in program
     a = a % 10;
        ^
0_0_19384701_26306.c:4:7: error: lvalue required as unary '&' operand
     a = a % 10;
       ^
0_0_19384701_26306.c:4:14: error: stray '#' in program
     a = a % 10;
              ^
0_0_19384701_26306.c:4:13: error: lvalue required as unary '&' operand
     a = a % 10;
             ^
0_0_19384701_26306.c:4:20: error: stray '#' in program
     a = a % 10;
                    ^
0_0_19384701_26306.c:4:19: error: lvalue required as unary '&' operand
     a = a % 10;
                   ^
0_0_19384701_26306.c:5:2: error: stray '#' in program
     while(b>0){
  ^
0_0_19384701_26306.c:5:1: error: lvalue required as unary '&' operand
     while(b>0){
 ^
0_0_19384701_26306.c:5:8: error: stray '#' in program
     while(b>0){
        ^
0_0_19384701_26306.c:5:7: error: lvalue required as unary '&' operand
     while(b>0){
       ^
0_0_19384701_26306.c:5:14: error: stray '#' in program
     while(b>0){
              ^
0_0_19384701_26306.c:5:13: error: lvalue required as unary '&' operand
     while(b>0){
             ^
0_0_19384701_26306.c:5:20: error: stray '#' in program
     while(b>0){
                    ^
0_0_19384701_26306.c:5:19: error: lvalue required as unary '&' operand
     while(b>0){
                   ^
0_0_19384701_26306.c:6:2: error: stray '#' in program
         if(b % 2 == 1){
  ^
0_0_19384701_26306.c:6:1: error: lvalue required as unary '&' operand
         if(b % 2 == 1){
 ^
0_0_19384701_26306.c:6:8: error: stray '#' in program
         if(b % 2 == 1){
        ^
0_0_19384701_26306.c:6:7: error: lvalue required as unary '&' operand
         if(b % 2 == 1){
       ^
0_0_19384701_26306.c:6:14: error: stray '#' in program
         if(b % 2 == 1){
              ^
0_0_19384701_26306.c:6:13: error: lvalue required as unary '&' operand
         if(b % 2 == 1){
             ^
0_0_19384701_26306.c:6:20: error: stray '#' in program
         if(b % 2 == 1){
                    ^
0_0_19384701_26306.c:6:19: error: lvalue required as unary '&' operand
         if(b % 2 == 1){
                   ^
0_0_19384701_26306.c:6:26: error: stray '#' in program
         if(b % 2 == 1){
                          ^
0_0_19384701_26306.c:6:25: error: lvalue required as unary '&' operand
         if(b % 2 == 1){
                         ^
0_0_19384701_26306.c:6:32: error: stray '#' in program
         if(b % 2 == 1){
                                ^
0_0_19384701_26306.c:6:31: error: lvalue required as unary '&' operand
         if(b % 2 == 1){
                               ^
0_0_19384701_26306.c:6:38: error: stray '#' in program
         if(b % 2 == 1){
                                      ^
0_0_19384701_26306.c:6:37: error: lvalue required as unary '&' operand
         if(b % 2 == 1){
                                     ^
0_0_19384701_26306.c:6:44: error: stray '#' in program
         if(b % 2 == 1){
                                            ^
0_0_19384701_26306.c:6:43: error: lvalue required as unary '&' operand
         if(b % 2 == 1){
                                           ^
0_0_19384701_26306.c:7:2: error: stray '#' in program
             ans = (ans * a) % 10;
  ^
0_0_19384701_26306.c:7:1: error: lvalue required as unary '&' operand
             ans = (ans * a) % 10;
 ^
0_0_19384701_26306.c:7:8: error: stray '#' in program
             ans = (ans * a) % 10;
        ^
0_0_19384701_26306.c:7:7: error: lvalue required as unary '&' operand
             ans = (ans * a) % 10;
       ^
0_0_19384701_26306.c:7:14: error: stray '#' in program
             ans = (ans * a) % 10;
              ^
0_0_19384701_26306.c:7:13: error: lvalue required as unary '&' operand
             ans = (ans * a) % 10;
             ^
0_0_19384701_26306.c:7:20: error: stray '#' in program
             ans = (ans * a) % 10;
                    ^
0_0_19384701_26306.c:7:19: error: lvalue required as unary '&' operand
             ans = (ans * a) % 10;
                   ^
0_0_19384701_26306.c:7:26: error: stray '#' in program
             ans = (ans * a) % 10;
                          ^
0_0_19384701_26306.c:7:25: error: lvalue required as unary '&' operand
             ans = (ans * a) % 10;
                         ^
0_0_19384701_26306.c:7:32: error: stray '#' in program
             ans = (ans * a) % 10;
                                ^
0_0_19384701_26306.c:7:31: error: lvalue required as unary '&' operand
             ans = (ans * a) % 10;
                               ^
0_0_19384701_26306.c:7:38: error: stray '#' in program
             ans = (ans * a) % 10;
                                      ^
0_0_19384701_26306.c:7:37: error: lvalue required as unary '&' operand
             ans = (ans * a) % 10;
                                     ^
0_0_19384701_26306.c:7:44: error: stray '#' in program
             ans = (ans * a) % 10;
                                            ^
0_0_19384701_26306.c:7:43: error: lvalue required as unary '&' operand
             ans = (ans * a) % 10;
                                           ^
0_0_19384701_26306.c:7:50: error: stray '#' in program
             ans = (ans * a) % 10;
                                                  ^
0_0_19384701_26306.c:7:49: error: lvalue required as unary '&' operand
             ans = (ans * a) % 10;
                                                 ^
0_0_19384701_26306.c:7:56: error: stray '#' in program
             ans = (ans * a) % 10;
                                                        ^
0_0_19384701_26306.c:7:55: error: lvalue required as unary '&' operand
             ans = (ans * a) % 10;
                                                       ^
0_0_19384701_26306.c:7:62: error: stray '#' in program
             ans = (ans * a) % 10;
                                                              ^
0_0_19384701_26306.c:7:61: error: lvalue required as unary '&' operand
             ans = (ans * a) % 10;
                                                             ^
0_0_19384701_26306.c:7:68: error: stray '#' in program
             ans = (ans * a) % 10;
  


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-07-03 15:39:47, Gzip enabled