Runtime Error
Code
#include<stdio.h>
int main()
{
int x, y[999],z[999], a=0, b=0;
scanf("%d", &x);
for(int i=0; i<x; i++)
{
scanf("%d", y[i]);
a=a+y[i];
}
for(int i=0; i<x; i++)
{
scanf("%d", z[i]);
b=b+z[i];
}
printf("%d", b-a);
return 0;
}
Information
- Submit By
- Type
- Submission
- Problem
- P1228 Business Strategy
- Contest
- LUCC Presents Kick & Code Intra LU Programming Contest
- Language
- C99 (GCC 13.2.0)
- Submit At
- 2025-09-01 06:07:28
- Judged At
- 2025-09-01 06:07:29
- Judged By
- Score
- 0
- Total Time
- 1ms
- Peak Memory
- 320.0 KiB