Pagini recente » Borderou de evaluare (job #2356690) | Borderou de evaluare (job #2552268) | Borderou de evaluare (job #2841955) | Borderou de evaluare (job #1819569) | Borderou de evaluare (job #2367866)
Borderou de evaluare (job #2367866)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:17:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=n;i>1&&nrm!=k;i--)
~~~^~~
main.cpp:18:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=i-1;j>=1&&nrm!=k;j--)
~~~^~~
main.cpp:19:20: warning: array subscript has type 'char' [-Wchar-subscripts]
if(nr[i]>nr[j])
^
main.cpp:19:26: warning: array subscript has type 'char' [-Wchar-subscripts]
if(nr[i]>nr[j])
^
main.cpp:21:30: warning: array subscript has type 'char' [-Wchar-subscripts]
swap(nr[i],nr[j]);
^
main.cpp:21:36: warning: array subscript has type 'char' [-Wchar-subscripts]
swap(nr[i],nr[j]);
^
main.cpp:24:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(nrm<k)
~~~^~
main.cpp:27:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=1;i<=n;i++)
~^~~
main.cpp:28:20: warning: array subscript has type 'char' [-Wchar-subscripts]
g<<nr[i];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 5 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 2ms | 131kb | Incorect | 0 |
4 | 2ms | 131kb | Incorect | 0 |
5 | 2ms | 131kb | Incorect | 0 |
6 | 2ms | 131kb | Incorect | 0 |
7 | 2ms | 131kb | Incorect | 0 |
8 | 2ms | 131kb | Incorect | 0 |
9 | 2ms | 131kb | Incorect | 0 |
10 | 2ms | 131kb | Incorect | 0 |
11 | 2ms | 131kb | Incorect | 0 |
12 | 2ms | 131kb | Incorect | 0 |
13 | 2ms | 131kb | Incorect | 0 |
14 | 2ms | 131kb | Incorect | 0 |
15 | 2ms | 131kb | Incorect | 0 |
16 | 2ms | 131kb | Incorect | 0 |
17 | 2ms | 131kb | Incorect | 0 |
18 | 2ms | 131kb | Incorect | 0 |
19 | 2ms | 131kb | Incorect | 0 |
20 | 2ms | 131kb | Incorect | 0 |
Punctaj total | 5 |