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_16539491_22863.cpp: In function 'int count(const bint&)':
0_0_16539491_22863.cpp:592:21: error: inconsistent deduction for 'auto': 'unsigned int' and then 'long long unsigned int'
   rep(i, 0u, s.size()) ret += s[i] - '0';
                     ^
0_0_16539491_22863.cpp:18:39: note: in definition of macro 'rep'
 #define rep(i,a,b) for(auto i=a,i##_n=b;i<i##_n;++i)
                                       ^


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-29 21:03:49, Gzip enabled