QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#464696#8547. Whose Land?egypt_ioi2024_07Compile Error//C++234.5kb2024-07-06 13:52:002024-07-06 13:52:00

详细

answer.code: In function ‘void solve()’:
answer.code:151:49: error: narrowing conversion of ‘1.0e+9’ from ‘double’ to ‘long long int’ [-Wnarrowing]
  151 |                         auto it=s[d].lower_bound({{r,1e9},1e9});
      |                                 ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~