Problem area_noi
User RandomCtfNoob
Submission Time 2024-02-23 12:38:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

area_noi.cpp:4:4: error: found ‘:’ in nested-name-specifier, expected ‘::’
4 | std:cin << N;
| ^
| ::
area_noi.cpp:4:5: error: ‘cin’ in namespace ‘std’ does not name a type
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 |
area_noi.cpp:5:1: error: expected unqualified-id before ‘for’
5 | for (j = 1, j <= N, j++){
| ^~~
area_noi.cpp:14:4: error: found ‘:’ in nested-name-specifier, expected ‘::’
14 | std:cout << biggest;
| ^
| ::
area_noi.cpp:14:5: error: ‘cout’ in namespace ‘std’ does not name a type
14 | std:cout << biggest;
| ^~~~
area_noi.cpp:14:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
14 | std:cout << b