QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#172635#2362. Contest StrugglesMaMengQiCompile Error//C11380b2023-09-09 20:03:452023-09-09 20:03:46

详细

answer.code: In function ‘main’:
answer.code:11:8: error: ‘remp’ undeclared (first use in this function); did you mean ‘remP’?
     if(remp<1)
        ^~~~
        remP
answer.code:11:8: note: each undeclared identifier is reported only once for each function it appears in
answer.code:5:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d%d",&n,&k);
     ^~~~~~~~~~~~~~~~~~~
answer.code:6:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d%d",&d,&s);
     ^~~~~~~~~~~~~~~~~~~