QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#141019#6661. 야유회alch07#Compile Error//C++14252b2023-08-17 07:51:472024-07-04 01:46:12

Details

answer.code: In function ‘int morning(int, int)’:
answer.code:5:55: error: expected ‘;’ before ‘}’ token
    5 | int morning(int my_num, int right_num) { return my_num }
      |                                                       ^~
      |                                                       ;
answer.code: In function ‘int afternoon(int, int, int)’:
answer.code:7:71: error: expected ‘;’ before ‘}’ token
    7 | int afternoon(int left_num, int my_num, int right_num) { return my_num }
      |                                                                       ^~
      |                                                                       ;
answer.code: In function ‘int evening(int, int, int)’:
answer.code:9:69: error: expected ‘;’ before ‘}’ token
    9 | int evening(int left_num, int my_num, int right_num) { return my_num }
      |                                                                     ^~
      |                                                                     ;