Problem rotate
User ZivTheONe
Submission Time 2025-05-23 10:41:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rotate.cpp: In function ‘void energy(int, std::vector<int>)’:
rotate.cpp:5:7: error: ‘cout’ is not a member of ‘std’
5 | std::cout << "panties!\n";
| ^~~~
rotate.cpp:2:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
1 | #include "rotate.h"
+++ |+#include <iostream>
2 | #include <vector>