Problem minimum
User nivay210
Submission Time 2023-11-09 09:31:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:5:12: error: expected ‘;’ before ‘<=’ token
5 | for (int N <= 1000000; int A <= 1000000; int N ++)
| ^~~
| ;
minimum.cpp:5:13: error: expected primary-expression before ‘<=’ token
5 | for (int N <= 1000000; int A <= 1000000; int N ++)
| ^~
minimum.cpp:5:25: error: expected primary-expression before ‘int’
5 | for (int N <= 1000000; int A <= 1000000; int N ++)
| ^~~
minimum.cpp:5:24: error: expected ‘)’ before ‘int’
5 | for (int N <= 1000000; int A <= 1000000; int N ++)
| ~ ^~~~
| )
minimum.cpp:5:31: error: expected initializer before ‘<=’ token
5 | for (int N <= 1000000; int A <= 1000000; int N ++)
| ^~
minimum.cpp:5:49: error: expected i