QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#409510#8340. 3 Sumucup-team1688#Compile Error//C++232.3kb2024-05-12 10:27:042024-05-12 10:27:05

Details

answer.code:23:22: error: narrowing conversion of ‘1.00000007e+8’ from ‘double’ to ‘int’ [-Wnarrowing]
   23 | const int P[] = {1e8 + 7, 1e8 + 37, 1e8 + 39};
      |                  ~~~~^~~
answer.code:23:31: error: narrowing conversion of ‘1.00000037e+8’ from ‘double’ to ‘int’ [-Wnarrowing]
   23 | const int P[] = {1e8 + 7, 1e8 + 37, 1e8 + 39};
      |                           ~~~~^~~~
answer.code:23:41: error: narrowing conversion of ‘1.00000039e+8’ from ‘double’ to ‘int’ [-Wnarrowing]
   23 | const int P[] = {1e8 + 7, 1e8 + 37, 1e8 + 39};
      |                                     ~~~~^~~~