QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#575092#9156. 百万富翁EDqwqCompile Error//C++204.5kb2024-09-19 10:25:542024-09-19 10:25:54

Details

answer.code: In function ‘void Tem::Mul(long long int&, long long int)’:
answer.code:63:38: warning: division by zero [-Wdiv-by-zero]
   63 |     void Mul(int &x,int y){x = x * y % mod;}
      |                                ~~~~~~^~~~~
/usr/bin/ld: /tmp/cc2SxkHe.o: in function `main':
answer.code:(.text.startup+0x0): multiple definition of `main'; /tmp/ccpg2nWe.o:implementer.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/ccpg2nWe.o: in function `main':
implementer.cpp:(.text.startup+0x1df): undefined reference to `richest(int, int, int)'
collect2: error: ld returned 1 exit status