Problem flamethrower_ex
User Student101
Submission Time 2024-11-06 16:03:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower_ex.cpp:36:2: error: stray ‘#’ in program
36 | }#include <iostream>
| ^
flamethrower_ex.cpp: In function ‘int main()’:
flamethrower_ex.cpp:25:25: error: ‘LLONG_MIN’ was not declared in this scope
25 | long long max_sum = LLONG_MIN;
| ^~~~~~~~~
flamethrower_ex.cpp:4:1: note: ‘LLONG_MIN’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
3 | #include <algorithm>
+++ |+#include <climits>
4 | using namespace std;
flamethrower_ex.cpp: At global scope:
flamethrower_ex.cpp:36:3: error: ‘include’ does not name a type
36 | }#include <iostream>
| ^~~~~~~
flamethrower_ex.cpp:41:5: error: redefinition of ‘int main()’
41 | int main() {
| ^~~~
flamethrower_ex.cpp:6:5: note: ‘int main()’ previously defined here
6 | int main() {
| ^~~~
flamethrower_ex.cpp: In function ‘int mai