Problem | minimum |
---|---|
User | briyanii |
Submission Time | 2023-08-23 16:18:12 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp:5:21: error: ‘A’ has not been declared
5 | void findMin(int N, A) {
| ^
minimum.cpp: In function ‘void findMin(int, int)’:
minimum.cpp:6:14: error: ‘A’ was not declared in this scope
6 | int minimum=A[0];
| ^
minimum.cpp:12:7: error: no match for ‘operator>>’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘int’)
12 | cout >> minimum;
| ~~~~ ^~ ~~~~~~~
| | |
| | int
| std::ostream {aka std::basic_ostream<char>}
minimum.cpp:12:7: note: candidate: ‘operator>>(int, int)’ <built-in>
12 | cout >> minimum;
| ~~~~~^~~~~~~~~~
minimum.cpp:12:7: note: no known conversion for argument 1 from ‘std::ostream’ {aka ‘std::basic_ostream<char>’} to ‘int’
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:45,
from minimum.c