Problem minimum
User damirerere
Submission Time 2025-02-21 20:00:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp:4:3: error: invalid preprocessing directive #Example
4 | # Example usage:
| ^~~~~~~
minimum.cpp:5:28: error: stray ‘#’ in program
5 | print(findMin(2, [3, 5])) # Should return 3
| ^
minimum.cpp:6:38: error: stray ‘#’ in program
6 | print(findMin(5, [1, 5, 2, 3, 10])) # Should return 1
| ^
minimum.cpp:1:1: error: ‘def’ does not name a type
1 | def findMin(N, A):
| ^~~