Borderou de evaluare (job #2965691)
Utilizator | Data | 15 ianuarie 2023 20:54:26 | |
---|---|---|---|
Problema | SequenceQuery | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:3:14: error: 'LONG_MIN' was not declared in this scope
3 | #define lmin LONG_MIN
| ^~~~~~~~
main.cpp:12:14: note: in expansion of macro 'lmin'
12 | ll sleft=lmin,sright=lmin,sall,smax=lmin;
| ^~~~
main.cpp:2:1: note: 'LONG_MIN' is defined in header '<climits>'; did you forget to '#include <climits>'?
1 | #include <fstream>
+++ |+#include <climits>
2 | #define ll long long
main.cpp:3:14: error: 'LONG_MIN' was not declared in this scope
3 | #define lmin LONG_MIN
| ^~~~~~~~
main.cpp:12:26: note: in expansion of macro 'lmin'
12 | ll sleft=lmin,sright=lmin,sall,smax=lmin;
| ^~~~
main.cpp:3:14: note: 'LONG_MIN' is defined in header '<climits>'; did you forget to '#include <climits>'?
3 | #define lmin LONG_MIN
| ^~~~~~~~
main.cpp:12:26: note: in expansion of macro 'lmin'
12 | ll sleft=lmin,sright=lmin,sall,smax=lmin;
| ^~~~
main.cpp:3:14: error: 'LONG_MIN' was not declared in this scope
3 | #define lmin LONG_MIN
| ^~~~~~~~
main.cpp:12:41: note: in expansion of macro 'lmin'
12 | ll sleft=lmin,sright=lmin,sall,smax=lmin;
| ^~~~
main.cpp:3:14: note: 'LONG_MIN' is defined in header '<climits>'; did you forget to '#include <climits>'?
3 | #define lmin LONG_MIN
| ^~~~~~~~
main.cpp:12:41: note: in expansion of macro 'lmin'
12 | ll sleft=lmin,sright=lmin,sall,smax=lmin;
| ^~~~
main.cpp: In function 'lache query(int, int, int, int, int)':
main.cpp:3:14: error: 'LONG_MIN' was not declared in this scope
3 | #define lmin LONG_MIN
| ^~~~~~~~
main.cpp:38:13: note: in expansion of macro 'lmin'
38 | return {lmin ,lmin,0,lmin};
| ^~~~
main.cpp:3:14: note: 'LONG_MIN' is defined in header '<climits>'; did you forget to '#include <climits>'?
3 | #define lmin LONG_MIN
| ^~~~~~~~
main.cpp:38:13: note: in expansion of macro 'lmin'
38 | return {lmin ,lmin,0,lmin};
| ^~~~
main.cpp:38:30: error: could not convert '{<expression error>, LONG_MIN, 0, LONG_MIN}' from '<brace-enclosed initializer list>' to 'lache'
38 | return {lmin ,lmin,0,lmin};
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !