QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#422771#8005. Crossing the Borderzaozao_zmxCompile Error//C++232.8kb2024-05-27 19:13:522024-05-27 19:13:52

详细

answer.code: In function ‘int main()’:
answer.code:73:43: error: narrowing conversion of ‘1.0e+9’ from ‘double’ to ‘int’ [-Wnarrowing]
   73 |         for(int i=1;i<(1<<a);i++) dp[i]=p{1e9,1};
      |                                           ^~~
answer.code:84:24: error: narrowing conversion of ‘1.0e+9’ from ‘double’ to ‘int’ [-Wnarrowing]
   84 |                 p nw=p{1e9,1};
      |                        ^~~