Problem | divisibility |
---|---|
User | Reverberate |
Submission Time | 2024-03-08 19:03:05 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
divisibility.cpp: In function ‘int main()’:
divisibility.cpp:39:3: error: ‘ios_base’ has not been declared
39 | ios_base::sync_with_stdio(0);
| ^~~~~~~~
divisibility.cpp:40:3: error: ‘cin’ was not declared in this scope
40 | cin.tie(0);
| ^~~
divisibility.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #define for0b(n) for (int i = n - 1; i >= 0; --i)
divisibility.cpp:41:3: error: ‘cout’ was not declared in this scope
41 | cout.tie(0);
| ^~~~
divisibility.cpp:41:3: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
divisibility.cpp:19:21: error: ‘memset’ was not declared in this scope
19 | #define setneg(arr) memset(arr, -1, sizeof(arr));
| ^~~~~~
divisibility.cpp:42:3: note: in expansion of macro ‘setneg’