QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#176112#7184. Transport Plusesucup-team1193Compile Error//C++209.4kb2023-09-11 10:55:342023-09-11 10:55:34

详细

answer.code: In function ‘int main()’:
answer.code:318:26: warning: narrowing conversion of ‘i’ from ‘int’ to ‘double’ [-Wnarrowing]
  318 |             a.push_back({i, j});
      |                          ^
answer.code:318:29: warning: narrowing conversion of ‘j’ from ‘int’ to ‘double’ [-Wnarrowing]
  318 |             a.push_back({i, j});
      |                             ^
answer.code:350:12: error: redeclaration of ‘double ans’
  350 |     double ans = 1E18;
      |            ^~~
answer.code:322:12: note: ‘double ans’ previously declared here
  322 |     double ans = 1E18;
      |            ^~~