Pagini recente » Borderou de evaluare (job #3236613) | Borderou de evaluare (job #1985548) | Borderou de evaluare (job #712386) | Borderou de evaluare (job #2680740) | Borderou de evaluare (job #3265040)
Borderou de evaluare (job #3265040)
Raport evaluator
Compilare:
main.cpp: In function 'int parantezare(int)':
main.cpp:11:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | for(i=poz;i<=s.size();++i)
| ~^~~~~~~~~~
main.cpp: In function 'void parse(int, int, std::string)':
main.cpp:40:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
40 | if(s[i]==',' && small!="" || s[i]==')' && small!="")
main.cpp:49:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
49 | if(s[i]>='A' && s[i]<='Z' || (Big!="" && s[i]>='0' && s[i]<='9'))
main.cpp:51:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
51 | if(s[i]>='a' && s[i]<='z' || (small!="" && s[i]>='0' && s[i]<='9'))
main.cpp: In function 'int parantezare(int)':
main.cpp:20:1: warning: control reaches end of non-void function [-Wreturn-type]
20 | }
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | OK | 10 |
2 | 0ms | 303kb | OK | 10 |
3 | 0ms | 303kb | OK | 10 |
4 | 0ms | 303kb | OK | 10 |
5 | 0ms | 303kb | OK | 10 |
6 | 0ms | 303kb | OK | 10 |
7 | 0ms | 303kb | OK | 10 |
8 | 0ms | 303kb | OK | 10 |
9 | 0ms | 303kb | OK | 10 |
10 | 0ms | 303kb | OK | 10 |
Punctaj total | 100 |