Problem adjmatrix
User newplayer
Submission Time 2023-11-10 15:46:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

adjmatrix.cpp: In function ‘int main()’:
adjmatrix.cpp:5:5: error: ‘cin’ was not declared in this scope
5 | cin >>v>>e;
| ^~~
adjmatrix.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | using namespace std;
adjmatrix.cpp:22:13: error: ‘cout’ was not declared in this scope
22 | cout<<s[i][j];
| ^~~~
adjmatrix.cpp:22:13: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
adjmatrix.cpp:24:9: error: ‘cout’ was not declared in this scope
24 | cout<<'\n';
| ^~~~
adjmatrix.cpp:24:9: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?