Pagini recente » Borderou de evaluare (job #2289060) | Borderou de evaluare (job #714998) | Borderou de evaluare (job #1525176) | Borderou de evaluare (job #2157367) | Borderou de evaluare (job #2708024)
Borderou de evaluare (job #2708024)
Raport evaluator
Compilare:
main.cpp: In function 'long long int eval_exp(char*, int)':
main.cpp:60:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
if(ptr = urm_elem(&a[0], "+-", n))
^
main.cpp:60:38: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(ptr = urm_elem(&a[0], "+-", n))
^
main.cpp:68:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
if(ptr = urm_elem(&a[0], "*/", n))
^
main.cpp:68:38: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(ptr = urm_elem(&a[0], "*/", n))
^
main.cpp:76:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
if(ptr = urm_elem(&a[0], "^", n))
^
main.cpp:76:37: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(ptr = urm_elem(&a[0], "^", n))
^
main.cpp:99:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 2ms | 131kb | OK | 10 |
5 | 2ms | 131kb | OK | 10 |
6 | 2ms | 131kb | OK | 10 |
7 | 4ms | 131kb | OK | 10 |
8 | 5ms | 131kb | OK | 10 |
9 | 32ms | 393kb | OK | 10 |
10 | 19ms | 1048kb | Incorect | 0 |
Punctaj total | 90 |