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_26729263_2708.cpp: In function 'void powerval(int, int, int, int)':
0_0_26729263_2708.cpp:24:26: error: 'mod' was not declared in this scope
         sum1[id] = len % mod * val % mod;
                          ^
0_0_26729263_2708.cpp:30:37: error: 'mod' was not declared in this scope
         sum1[id] = sum1[id] * val % mod;
                                     ^
0_0_26729263_2708.cpp:36:44: error: 'mod' was not declared in this scope
         sum3[id] = (sum3[id] + val * val % mod * val % mod + 3*sum1[id] % mod * val % mod * (sum1[id] + val) % mod) % mod;
                                            ^


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-27 06:14:04, Gzip enabled