Pagini recente » Borderou de evaluare (job #2655151) | Borderou de evaluare (job #2324644) | Borderou de evaluare (job #1619218) | Borderou de evaluare (job #1355854) | Borderou de evaluare (job #2655967)
Borderou de evaluare (job #2655967)
Raport evaluator
Compilare:
main.cpp: In function 'void rez()':
main.cpp:12:17: warning: NULL used in arithmetic [-Wpointer-arith]
if (s[poz]!=NULL)
^~~~
main.cpp:24:31: warning: array subscript has type 'char' [-Wchar-subscripts]
coef[asoc[s[poz++]]]+=nr;
^
main.cpp:24:32: warning: array subscript has type 'char' [-Wchar-subscripts]
coef[asoc[s[poz++]]]+=nr;
^
main.cpp: In function 'int main()':
main.cpp:58:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i<st.size() && j<dr.size())
~^~~~~~~~~~
main.cpp:58:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i<st.size() && j<dr.size())
~^~~~~~~~~~
main.cpp:68:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (st[i]==st[i+1] && i+1<st.size())
~~~^~~~~~~~~~
main.cpp:70:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (dr[j]==dr[j+1] && j+1<dr.size())
~~~^~~~~~~~~~
main.cpp:35:13: warning: array subscript is above array bounds [-Warray-bounds]
asoc['t']=1,asoc['x']=2,asoc['y']=3,asoc['z']=4;
~~~~~~~~^
main.cpp:35:25: warning: array subscript is above array bounds [-Warray-bounds]
asoc['t']=1,asoc['x']=2,asoc['y']=3,asoc['z']=4;
~~~~~~~~^
main.cpp:35:37: warning: array subscript is above array bounds [-Warray-bounds]
asoc['t']=1,asoc['x']=2,asoc['y']=3,asoc['z']=4;
~~~~~~~~^
main.cpp:35:49: warning: array subscript is above array bounds [-Warray-bounds]
asoc['t']=1,asoc['x']=2,asoc['y']=3,asoc['z']=4;
~~~~~~~~^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Corect | 1 |
2 | 2ms | 131kb | Corect | 1 |
3 | 2ms | 131kb | Corect | 4 |
4 | 2ms | 131kb | Corect | 4 |
5 | 2ms | 131kb | Corect | 5 |
6 | 2ms | 131kb | Corect | 5 |
7 | 5ms | 393kb | Corect | 5 |
8 | 10ms | 1302kb | Rapuns gresit | 0 |
9 | 2ms | 131kb | Rapuns gresit | 0 |
10 | 3ms | 262kb | Rapuns gresit | 0 |
11 | 2ms | 131kb | Rapuns gresit | 0 |
12 | 27ms | 2478kb | Rapuns gresit | 0 |
13 | 339ms | 20815kb | Rapuns gresit | 0 |
14 | 131ms | 9285kb | Rapuns gresit | 0 |
15 | 192ms | 20553kb | Rapuns gresit | 0 |
16 | 199ms | 17932kb | Corect | 5 |
17 | 3ms | 131kb | Rapuns gresit | 0 |
18 | 222ms | 19243kb | Rapuns gresit | 0 |
19 | 192ms | 20815kb | Corect | 5 |
20 | 285ms | 20815kb | Rapuns gresit | 0 |
21 | 14ms | 1302kb | Corect | 5 |
22 | 301ms | 19267kb | Rapuns gresit | 0 |
Punctaj total | 40 |