Problem | reading |
---|---|
User | gordonlu |
Submission Time | 2023-11-05 19:19:17 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
reading.cpp: In function ‘int main()’:
reading.cpp:3:2: error: ‘scanf’ was not declared in this scope
3 | scanf("%lld %lld", &N, &K);
| ^~~~~
reading.cpp:11:11: error: expected ‘;’ before ‘}’ token
11 | count++
| ^
| ;
12 | }
| ~
reading.cpp:14:2: error: ‘printf’ was not declared in this scope
14 | printf("%lld", count);
| ^~~~~~
reading.cpp:1:1: note: ‘printf’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’?
+++ |+#include <cstdio>
1 | int main() {