Pagini recente » Borderou de evaluare (job #3129916) | Borderou de evaluare (job #1417630) | Borderou de evaluare (job #1010437) | Borderou de evaluare (job #2525964) | Borderou de evaluare (job #2442685)
Borderou de evaluare (job #2442685)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:30:19: warning: array subscript has type 'char' [-Wchar-subscripts]
if(mx[last].pos!=-1)
^
main.cpp:32:23: warning: array subscript has type 'char' [-Wchar-subscripts]
if(mx[last].q+1>mx[first].q)
^
main.cpp:32:37: warning: array subscript has type 'char' [-Wchar-subscripts]
if(mx[last].q+1>mx[first].q)
^
main.cpp:34:25: warning: array subscript has type 'char' [-Wchar-subscripts]
mx[first].q=mx[last].q+1;
^
main.cpp:34:36: warning: array subscript has type 'char' [-Wchar-subscripts]
mx[first].q=mx[last].q+1;
^
main.cpp:35:25: warning: array subscript has type 'char' [-Wchar-subscripts]
mx[first].pos=i;
^
main.cpp:36:33: warning: array subscript has type 'char' [-Wchar-subscripts]
nextt[i]=mx[last].pos;
^
main.cpp:41:27: warning: array subscript has type 'char' [-Wchar-subscripts]
if(1>=mx[first].q)
^
main.cpp:43:25: warning: array subscript has type 'char' [-Wchar-subscripts]
mx[first].q=1;
^
main.cpp:44:25: warning: array subscript has type 'char' [-Wchar-subscripts]
mx[first].pos=i;
^
main.cpp:47:20: warning: array subscript has type 'char' [-Wchar-subscripts]
if(mx[first].q>maxx)
^
main.cpp:49:26: warning: array subscript has type 'char' [-Wchar-subscripts]
maxx=mx[first].q;
^
main.cpp:15:24: warning: 'position' may be used uninitialized in this function [-Wmaybe-uninitialized]
int cnt=0,i,maxx=1,position;
^~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 262kb | Partial incorect - reconstituire proasta | 4 |
2 | 3ms | 131kb | Corect | 10 |
3 | 2ms | 131kb | Corect | 10 |
4 | 2ms | 131kb | Partial incorect - reconstituire proasta | 4 |
5 | 5ms | 393kb | Partial incorect - reconstituire proasta | 4 |
6 | 6ms | 524kb | Corect | 10 |
7 | 2ms | 131kb | Corect | 10 |
8 | 8ms | 786kb | Partial incorect - reconstituire proasta | 4 |
9 | 3ms | 131kb | Partial incorect - reconstituire proasta | 4 |
10 | 3ms | 131kb | Corect | 10 |
Punctaj total | 70 |