Problem | ljubomora |
---|---|
User | Kishan |
Submission Time | 2023-06-13 12:37:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
ljubomora.cpp: In function ‘int main()’:
ljubomora.cpp:6:5: error: ‘cin’ was not declared in this scope
6 | cin >> N >> M;
| ^~~
ljubomora.cpp:2:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
1 | #include <cstdio>
+++ |+#include <iostream>
2 | using namespace std;
ljubomora.cpp:32:5: error: ‘cout’ was not declared in this scope
32 | cout << lo;
| ^~~~
ljubomora.cpp:32:5: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?