Compile Error
foo.c: In function 'main': foo.c:16:1: error: expected declaration or statement at end of input 16 | } | ^
Code
#include <stdio.h>
int main()
{
int n;
scanf("%d",&n);
if(1<=n<=10^9){
for(int i=1;i<=n;i++){
for(int j=1;j<i;j++){
if(i-j<=1){
}
}
printf("%d",n);
}
return 0;
}
Information
- Submit By
- Type
- Pretest
- Problem
- P1191 A. Balanced Product
- Language
- C99 (GCC 13.2.0)
- Submit At
- 2025-06-13 17:58:59
- Judged At
- 2025-06-13 17:58:59
- Judged By
- Score
- 0
- Total Time
- 0ms
- Peak Memory
- 0 Bytes