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_39237930_11740.cpp: In function 'int qy(int, int)':
0_0_39237930_11740.cpp:11:35: error: invalid operands of types '__gnu_cxx::__promote<double>::__type' {aka 'double'} and 'int' to binary 'operator%'
   11 |         int z = (s / pow(10,w-1)) % 10;
      |                 ~~~~~~~~~~~~~~~~~ ^ ~~
      |                    |                |
      |                    |                int
      |                    __gnu_cxx::__promote<double>::__type {aka 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-22 16:45:34, Gzip enabled