Problem | minimum |
---|---|
User | dumgod |
Submission Time | 2025-03-14 17:41:37 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp: In function ‘long long int findMin(long long int, long long int*)’:
minimum.cpp:16:14: error: ‘min’ was not declared in this scope
16 | real=min(real,A[i]);
| ^~~
minimum.cpp: In function ‘int main()’:
minimum.cpp:22:5: error: ‘cin’ was not declared in this scope
22 | cin.tie(0); ios_base::sync_with_stdio(0);
| ^~~
minimum.cpp:2:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
1 | #include "minimum.h"
+++ |+#include <iostream>
2 | using namespace std;
minimum.cpp:22:17: error: ‘ios_base’ has not been declared
22 | cin.tie(0); ios_base::sync_with_stdio(0);
| ^~~~~~~~