Pagini recente » Borderou de evaluare (job #2040011) | Borderou de evaluare (job #2578803) | Borderou de evaluare (job #2090043) | Borderou de evaluare (job #641921) | Borderou de evaluare (job #2038144)
Borderou de evaluare (job #2038144)
Raport evaluator
Compilare:
user.cpp: In function ‘void push(char)’:
user.cpp:11:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
st[++top]=c;
^
user.cpp: In function ‘int pop()’:
user.cpp:16:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return st[top--];
^
user.cpp: In function ‘int paranteza(char*)’:
user.cpp:21:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<strlen(s)-1;++i)
^
user.cpp:29:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(st[top]=='(' && s[i]==')' || st[top]=='[' && s[i]==']')
^
user.cpp:29:55: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(st[top]=='(' && s[i]==')' || st[top]=='[' && s[i]==']')
^
user.cpp:29:33: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(st[top]=='(' && s[i]==')' || st[top]=='[' && s[i]==']')
^
user.cpp: In function ‘void citire(char*)’:
user.cpp:51:15: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
s[++i]=NULL;
^
user.cpp: In function ‘int pop()’:
user.cpp:17:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 444kb | Incorect | 0 | 0 |
| 2 | 0ms | 448kb | Incorect | 0 |
| 3 | 0ms | 452kb | Incorect | 0 |
| 4 | 8ms | 448kb | Incorect | 0 |
| 5 | 180ms | 452kb | Incorect | 0 | 0 |
| 6 | Depăşit | 436kb | Time limit exceeded. | 0 | 0 |
| 7 | Depăşit | 444kb | Time limit exceeded. | 0 | 0 |
| 8 | Depăşit | 452kb | Time limit exceeded. | 0 | 0 |
| 9 | Depăşit | 444kb | Time limit exceeded. | 0 | 0 |
| 10 | Depăşit | 456kb | Time limit exceeded. | 0 | 0 |
| Punctaj total | 0 |