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

In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstdbool:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:56,
                 from 0_0_36056705_20706.cpp:1:
0_0_36056705_20706.cpp: In lambda function:
0_0_36056705_20706.cpp:59:30: error: inconsistent types 'int' and 'bool' deduced for lambda return type
     if (dp[i] < A[i]) return false;
                              ^
0_0_36056705_20706.cpp:61:11: error: inconsistent types 'int' and 'bool' deduced for lambda return type
    return true;
           ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-01-10 17:51:04, Gzip enabled