QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#655044#7176. I Flipped The Calendar...ZhangYiDeCompile Error//C111.2kb2024-10-18 23:59:292024-10-18 23:59:31

詳細信息

answer.code: In function ‘main’:
answer.code:33:13: error: expected ‘}’ before ‘else’
             else if   ((m==1|| m==3||m==5||m==7||m==8||m==10||m==12)&&(w<=1))
             ^~~~
answer.code:17:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d",&y);
     ^~~~~~~~~~~~~~