Problem | atomsplit |
---|---|
User | Trezpez |
Submission Time | 2025-06-19 10:25:11 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
atomsplit.cpp: In function ‘int main()’:
atomsplit.cpp:6:5: error: ‘cin’ was not declared in this scope
6 | cin >> N >> T;
| ^~~
atomsplit.cpp:2:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
1 | #include <queue>
+++ |+#include <iostream>
2 | using namespace std;
atomsplit.cpp:30:5: error: ‘cout’ was not declared in this scope
30 | cout << res;
| ^~~~
atomsplit.cpp:30:5: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?