Problem | minimum |
---|---|
User | Poket |
Submission Time | 2023-01-30 20:41:43 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
1 | #include "bits/stdc++.h>
| ^~~~~~~~~~~~~~~
minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:6:2: error: ‘sort’ was not declared in this scope; did you mean ‘short’?
6 | sort(A, A+N);
| ^~~~
| short
minimum.cpp:8:12: error: ‘cout’ was not declared in this scope
8 | return cout << A[0];
| ^~~~
minimum.cpp:3:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
2 | #include "minimum.h"
+++ |+#include <iostream>
3 | using namespace std;