Problem area_noi
User Ded
Submission Time 2024-02-16 16:32:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

area_noi.cpp: In function ‘int main()’:
area_noi.cpp:4:10: error: ‘cin’ is not a member of ‘std’
4 | std::cin>> n;
| ^~~
area_noi.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | int main()
area_noi.cpp:12:18: error: ‘cin’ is not a member of ‘std’
12 | std::cin>>arr[i][j]; //input into first i, //first j, then first i second j, so on so //forth (i.e. once each placeholder made, //value put in.)
| ^~~
area_noi.cpp:12:18: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
area_noi.cpp:26:10: error: ‘cout’ is not a member of ‘std’
26 | std::cout<<highestArea;
| ^~~~
area_noi.cpp:26:10: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?