Compile Error
/usr/bin/ld: /tmp/ccS1oidm.o: in function `main': foo.c:(.text.startup+0x3d): undefined reference to `print' collect2: error: ld returned 1 exit status
Code
#include <stdio.h>
int main()
{
int N, K, remaining;
scanf("%d %d", &N, &K);
remaining = N - K;
print("%d", remaining);
return 0;
}
Information
- Submit By
- Type
- Submission
- Problem
- P1226 Event Registration
- Contest
- LUCC Presents Intra LU Junior Programming Contest - Replay
- Language
- C99 (GCC 13.2.0)
- Submit At
- 2025-09-02 15:38:17
- Judged At
- 2025-09-02 15:38:59
- Judged By
- Score
- 0
- Total Time
- 0ms
- Peak Memory
- 0 Bytes