QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#246335#4669. Genetic ModificationsMaMengQiCompile Error//C++141.5kb2023-11-10 19:10:082023-11-10 19:10:09

Details

answer.code: In function ‘int main()’:
answer.code:52:2: error: expected ‘;’ before numeric constant
   52 | 4 6 9 11 15 24 25
      |  ^~
      |  ;
answer.code:54:31: error: ‘i’ was not declared in this scope
   54 |         for(int i=len2,j=len1;i&&j>=1;i--){
      |                               ^
answer.code:54:34: error: ‘j’ was not declared in this scope
   54 |         for(int i=len2,j=len1;i&&j>=1;i--){
      |                                  ^
answer.code:6:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    6 |         scanf("%s",s+1);
      |         ~~~~~^~~~~~~~~~
answer.code:7:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    7 |         scanf("%s",t+1);
      |         ~~~~~^~~~~~~~~~