Pagini recente » Borderou de evaluare (job #1174551) | Borderou de evaluare (job #1976703) | Borderou de evaluare (job #1362951) | Borderou de evaluare (job #82527) | Borderou de evaluare (job #2041834)
Borderou de evaluare (job #2041834)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
s[++top]=t[0];
^
user.cpp:17:17: warning: NULL used in arithmetic [-Wpointer-arith]
while(t[i]!=NULL)
^
user.cpp:19:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(top>=0&&t[i]>s[top]&&n-i>=m-top)top--;
^
user.cpp:20:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(top<m-1)s[++top]=t[i];
^
user.cpp:23:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
s[++top]=NULL;
^
user.cpp:23:13: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
s[++top]=NULL;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 428kb | OK | 10 |
2 | 0ms | 424kb | OK | 10 |
3 | 0ms | 424kb | Incorect | 0 |
4 | 0ms | 424kb | Incorect | 0 |
5 | 0ms | 424kb | Incorect | 0 |
6 | 0ms | 532kb | Incorect | 0 |
7 | 0ms | 528kb | Incorect | 0 |
8 | 16ms | 1404kb | Incorect | 0 |
9 | 12ms | 1404kb | Incorect | 0 |
10 | 16ms | 1400kb | Incorect | 0 |
Punctaj total | 20 |