QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#322382#4770. Binomial coefficientslmq26052003Compile Error//C++201.7kb2024-02-06 22:52:242024-02-06 22:52:24

Details

answer.code: In lambda function:
answer.code:35:30: error: inconsistent types ‘long int’ and ‘long long int’ deduced for lambda return type
   35 |         if(n != 2) return -1 * 1LL;
      |                           ~~~^~~~~