QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#515142#4883. Bayan TestingHuangHanShengCompile Error//C++204.0kb2024-08-11 15:31:302024-08-11 15:31:30

Details

answer.code: In function ‘int main()’:
answer.code:95:36: error: expected ‘;’ before ‘continue’
   95 |                         write(-1);1
      |                                    ^
      |                                    ;
   96 |                         continue;
      |                         ~~~~~~~~    
answer.code: In function ‘void FAST_IO::flushin()’:
answer.code:49:64: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   49 |         inline void flushin(){memcpy(BUF,BUF+Pin,LEN-Pin),fread(BUF+LEN-Pin,1,Pin,stdin),Pin=0;return;}
      |                                                           ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~