QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#422771#8005. Crossing the Borderzaozao_zmxCompile Error//C++232.8kb2024-05-27 19:13:522024-05-27 19:13:52

Details

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};
      |                        ^~~