Pagini recente »
Borderou de evaluare (job #382478)
|
Borderou de evaluare (job #427367)
|
Borderou de evaluare (job #765944)
|
Borderou de evaluare (job #369011)
|
Borderou de evaluare (job #746762)
Borderou de evaluare (job #746762)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:22:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
22 | for(int j=0;j<s.size()&&!f;j++)
| ~^~~~~~~~~
main.cpp:30:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
30 | else if(!ch.empty() && (ch.top()=='(' && s[j]==')' || ch.top()=='[' && s[j]==']' || ch.top()=='{' && s[j]=='}'))
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
main.cpp:30:112: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
30 | else if(!ch.empty() && (ch.top()=='(' && s[j]==')' || ch.top()=='[' && s[j]==']' || ch.top()=='{' && s[j]=='}'))
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
Punctaj/grupă |
1
|
1 ms
|
245 kb
|
Incorect
|
0
|
0
|
2
|
1 ms
|
245 kb
|
OK
|
5
|
3
|
1 ms
|
245 kb
|
OK
|
5
|
0
|
4
|
1 ms
|
245 kb
|
Incorect
|
0
|
5
|
1 ms
|
245 kb
|
Incorect
|
0
|
0
|
6
|
1 ms
|
245 kb
|
OK
|
5
|
7
|
1 ms
|
245 kb
|
OK
|
5
|
0
|
8
|
1 ms
|
245 kb
|
Incorect
|
0
|
9
|
1 ms
|
507 kb
|
Incorect
|
0
|
0
|
10
|
1 ms
|
512 kb
|
OK
|
5
|
11
|
29 ms
|
1433 kb
|
OK
|
5
|
0
|
12
|
29 ms
|
1437 kb
|
Incorect
|
0
|
13
|
29 ms
|
1437 kb
|
OK
|
5
|
0
|
14
|
29 ms
|
1429 kb
|
Incorect
|
0
|
15
|
29 ms
|
1429 kb
|
Incorect
|
0
|
0
|
16
|
29 ms
|
1433 kb
|
OK
|
5
|
17
|
29 ms
|
1429 kb
|
OK
|
5
|
0
|
18
|
29 ms
|
1433 kb
|
Incorect
|
0
|
19
|
29 ms
|
1437 kb
|
Incorect
|
0
|
0
|
20
|
29 ms
|
1425 kb
|
OK
|
5
|
Punctaj total
|
0
|