Borderou de evaluare (job #3156063)

Utilizator ChopinFLazar Alexandru ChopinF Data 10 octombrie 2023 15:31:28
Problema Editor Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 60

Raport evaluator

Compilare: main.cpp:5: warning: "LONG_MAX" redefined 5 | #define LONG_MAX 1LL << 63 | In file included from /usr/include/c++/12.2.1/climits:42, from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:39, from main.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include-fixed/limits.h:131: note: this is the location of the previous definition 131 | #define LONG_MAX __LONG_MAX__ | main.cpp:6: warning: "LONG_MIN" redefined 6 | #define LONG_MIN -1LL << 63 | /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include-fixed/limits.h:129: note: this is the location of the previous definition 129 | #define LONG_MIN (-LONG_MAX - 1L) | main.cpp:7: warning: "INT_MAX" redefined 7 | #define INT_MAX 1<<31 -1 | /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include-fixed/limits.h:120: note: this is the location of the previous definition 120 | #define INT_MAX __INT_MAX__ | main.cpp:8: warning: "INT_MIN" redefined 8 | #define INT_MIN -1<<31 +1 | /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include-fixed/limits.h:118: note: this is the location of the previous definition 118 | #define INT_MIN (-INT_MAX - 1) | main.cpp: In function 'int main()': main.cpp:55:79: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 55 | if(newSt.empty() or (vec[i] == ')' && newSt.top() != '(') && (vec[i] == ']' && newSt.top() != '[')) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:23:13: warning: unused variable 't' [-Wunused-variable] 23 | int t = 0; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbIncorect00
20ms303kbOK10
30ms303kbOK10
41ms303kbOK10
54ms303kbOK1010
64ms303kbOK1010
79ms303kbOK1010
814ms303kbOK1010
99ms303kbOK1010
1019ms303kbOK1010
Punctaj total60

Ceva nu functioneaza?