QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#767923#9748. 最大公因数的平方和ucup-team5027#Compile Error//C++201.9kb2024-11-20 22:46:162024-11-20 22:46:17

Details

answer.code: In function ‘int main()’:
answer.code:41:40: error: narrowing conversion of ‘-1’ from ‘int’ to ‘unsigned int’ [-Wnarrowing]
   41 |                 d[++dw]=(node){i,al,br,-1};
      |                                        ^~
answer.code:42:40: error: narrowing conversion of ‘-1’ from ‘int’ to ‘unsigned int’ [-Wnarrowing]
   42 |                 d[++dw]=(node){i,ar,bl,-1};
      |                                        ^~