Problem | weddingcoins |
---|---|
User | ipoposg |
Submission Time | 2023-01-07 21:13:03 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
weddingcoins.cpp: In function ‘int main()’:
weddingcoins.cpp:3:1: error: ‘scanf’ was not declared in this scope
3 | scanf("%lld", &n); // Read the input
| ^~~~~
weddingcoins.cpp:35:1: error: ‘printf’ was not declared in this scope
35 | printf("%d", cnt); // Print the result
| ^~~~~~
weddingcoins.cpp:1:1: note: ‘printf’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’?
+++ |+#include <cstdio>
1 | int main() {