Compile Error
foo.c: In function 'main': foo.c:6:9: error: expected declaration or statement at end of input 6 | return 0; | ^~~~~~
Code
#include<stdio.h>
int main(){
int N,K;
scanf("%d %d",&N,&K);
printf("%d\n",N-K);
return 0;
Information
- Submit By
- Type
- Submission
- Problem
- P1226 Event Registration
- Contest
- LUCC Presents Intra LU Junior Programming Contest - Replay
- Language
- C11 (GCC 13.2.0)
- Submit At
- 2025-09-02 15:39:13
- Judged At
- 2025-09-02 15:39:13
- Judged By
- Score
- 0
- Total Time
- 0ms
- Peak Memory
- 0 Bytes