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_39156419_3854.cpp: In instantiation of 'void chkmax(T&, I) [with T = Info; I = int]':
0_0_39156419_3854.cpp:37:32:   required from here
0_0_39156419_3854.cpp:23:70: error: conversion from 'int' to non-scalar type 'Info' requested
   23 | template < class T, class I > inline void chkmax (T &p, I q) {T q_ = q; p = std :: max (p, q_); return ;}
      |                                                                      ^


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-06-23 09:42:18, Gzip enabled