Problem | minimum |
---|---|
User | shawn |
Submission Time | 2024-04-12 19:05:05 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp:1:2: error: invalid preprocessing directive #inlcude; did you mean #include?
1 | #inlcude<bits/stdc++.h>
| ^~~~~~~
| include
minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:5:12: error: ‘n’ was not declared in this scope
5 | sort(A, A+n);
| ^
minimum.cpp:5:2: error: ‘sort’ was not declared in this scope; did you mean ‘short’?
5 | sort(A, A+n);
| ^~~~
| short
minimum.cpp:6:2: error: ‘cout’ was not declared in this scope
6 | cout << A[0];
| ^~~~
minimum.cpp:1:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #inlcude<bits/stdc++.h>