Pagini recente » Borderou de evaluare (job #509650) | Borderou de evaluare (job #3198450) | Borderou de evaluare (job #3248028) | Borderou de evaluare (job #1537221) | Borderou de evaluare (job #2771300)
Borderou de evaluare (job #2771300)
Raport evaluator
Compilare:
main.cpp: In function 'void ord_chars()':
main.cpp:27:14: warning: array subscript has type 'char' [-Wchar-subscripts]
ord[i]=cnt; cnt++;
^
main.cpp:30:14: warning: array subscript has type 'char' [-Wchar-subscripts]
ord[c]=cnt; cnt++;
^
main.cpp:33:14: warning: array subscript has type 'char' [-Wchar-subscripts]
ord[c]=cnt; cnt++;
^
main.cpp: In function 'std::vector<std::complex<double> > multiply(const std::vector<std::complex<double> >&, const std::vector<std::complex<double> >&)':
main.cpp:80:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(n<(a.size()+b.size()) ){
~^~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void build_pol(std::vector<std::complex<double> >&, std::vector<std::complex<double> >&, std::__cxx11::string&, std::__cxx11::string&)':
main.cpp:97:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<t.length(); i++){
~^~~~~~~~~~~
main.cpp:98:45: warning: array subscript has type 'char' [-Wchar-subscripts]
double ang=2*PI/(26*2+10)*(ord[t[i] ]);
^
main.cpp:106:45: warning: array subscript has type 'char' [-Wchar-subscripts]
double ang=2*PI/(26*2+10)*(ord[s[i] ]);
^
main.cpp: In function 'int32_t main()':
main.cpp:123:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<s.length(); i++){
~^~~~~~~~~~~
main.cpp:138:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=((int)s.length())-1; i<(t.length()); i++){
~^~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 647ms | 23818kb | OK | 10 | 0 |
2 | 639ms | 23818kb | OK | 10 |
3 | 648ms | 24170kb | OK | 10 |
4 | 645ms | 24170kb | Incorect | 0 |
5 | 636ms | 24170kb | OK | 10 |
6 | 640ms | 24170kb | OK | 10 |
7 | 639ms | 24170kb | Incorect | 0 |
8 | 641ms | 24104kb | OK | 10 |
9 | 627ms | 24170kb | OK | 10 |
10 | 914ms | 26841kb | OK | 10 |
Punctaj total | 0 |