| Problem | prime |
|---|---|
| User | toditisdoingthisforfun |
| Submission Time | 2026-01-05 10:22:19 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
prime.cpp:1:2: error: invalid preprocessing directive #inclide; did you mean #include?
1 | #inclide <stdio.h>
| ^~~~~~~
| include
prime.cpp: In function ‘int main()’:
prime.cpp:6:2: error: ‘scanf’ was not declared in this scope
6 | scanf("%lld", check);
| ^~~~~
prime.cpp:9:7: error: ‘prime’ was not declared in this scope
9 | if (prime%i==0)
| ^~~~~
prime.cpp:11:4: error: ‘printf’ was not declared in this scope
11 | printf("Prime");
| ^~~~~~
prime.cpp:1:1: note: ‘printf’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’?
+++ |+#include <cstdio>
1 | #inclide <stdio.h>
prime.cpp:16:4: error: ‘printf’ was not declared in this scope
16 | printf("Not Prime");
| ^~~~~~
prime.cpp:16:4: note: ‘printf’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’?
prime.cpp:19:2: