| Problem | minimum |
|---|---|
| User | chatdanai |
| Submission Time | 2026-04-18 14:16:39 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
minimum.cpp:3:7: error: expected nested-name-specifier before ‘namspace’
3 | using namspace std;
| ^~~~~~~~
minimum.cpp: In function ‘long long int findMin(long long int, long long int*)’:
minimum.cpp:6:9: error: request for member ‘begin’ in ‘A’, which is of non-class type ‘long long int*’
6 | sort(A.begin(),A.end());
| ^~~~~
minimum.cpp:6:19: error: request for member ‘end’ in ‘A’, which is of non-class type ‘long long int*’
6 | sort(A.begin(),A.end());
| ^~~
minimum.cpp:6:2: error: ‘sort’ was not declared in this scope; did you mean ‘std::sort’?
6 | sort(A.begin(),A.end());
| ^~~~
| std::sort
In file included from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from minimum.cpp:1:
/usr/include/c++/9/pstl/glue_algorithm_defs.h:296:1: note: ‘std::sort’ declared here
296 |