Problem hashcollision
User Soysauce
Submission Time 2024-03-04 21:03:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

hashcollision.cpp: In function ‘void end2020(int, int)’:
hashcollision.cpp:34:10: error: ‘cout’ is not a member of ‘std’
34 | std::cout << score << std::endl;
| ^~~~
hashcollision.cpp:5:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
4 | #include <cmath>
+++ |+#include <iostream>
5 |
hashcollision.cpp:34:32: error: ‘endl’ is not a member of ‘std’
34 | std::cout << score << std::endl;
| ^~~~
hashcollision.cpp:5:1: note: ‘std::endl’ is defined in header ‘<ostream>’; did you forget to ‘#include <ostream>’?
4 | #include <cmath>
+++ |+#include <ostream>
5 |