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_27202033_8432.cpp: In function 'long long int pl(long long int, long long int)':
0_0_27202033_8432.cpp:15:20: error: invalid operands of types 'long long int' and 'double' to binary 'operator%'
                 cnt%=MOD;
                    ^
0_0_27202033_8432.cpp:15:20: error:   in evaluation of 'operator%=(long long int, double)'
0_0_27202033_8432.cpp:18:10: error: invalid operands of types 'long long int' and 'double' to binary 'operator%'
         x%=MOD;
          ^
0_0_27202033_8432.cpp:18:10: error:   in evaluation of 'operator%=(long long int, double)'
0_0_27202033_8432.cpp: In function 'int main()':
0_0_27202033_8432.cpp:26:5: error: 'cin' was not declared in this scope
     cin>>T;
     ^
0_0_27202033_8432.cpp:30:10: error: invalid operands of types 'long long int' and 'double' to binary 'operator%'
         k%=MOD;
          ^
0_0_27202033_8432.cpp:30:10: error:   in evaluation of 'operator%=(long long int, double)'
0_0_27202033_8432.cpp:34:20: error: 'I' was not declared in this scope
             v[i]=v[I]*pl(k,t);
                    ^
0_0_27202033_8432.cpp:35:17: error: invalid operands of types 'long long int' and 'double' to binary 'operator%'
             v[i]%=MOD;
                 ^
0_0_27202033_8432.cpp:35:17: error:   in evaluation of 'operator%=(long long int, double)'


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-23 09:44:59, Gzip enabled