Pagini recente » Borderou de evaluare (job #2219881) | Borderou de evaluare (job #1576082) | Borderou de evaluare (job #2835306) | Borderou de evaluare (job #979819) | Borderou de evaluare (job #2853809)
Borderou de evaluare (job #2853809)
Raport evaluator
Compilare:
main.cpp: In function 'long long int eval_exp(char*, int)':
main.cpp:36:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
36 | if(ptr = urm_elem(&a[0], "+-", n)) /// verifica daca exista un plus/minus in intervalul dat care nu este intre paranteze
| ^~~~
main.cpp:36:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
36 | if(ptr = urm_elem(&a[0], "+-", n)) /// verifica daca exista un plus/minus in intervalul dat care nu este intre paranteze
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:42:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
42 | if(ptr = urm_elem(&a[0], "*/", n))
| ^~~~
main.cpp:42:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
42 | if(ptr = urm_elem(&a[0], "*/", n))
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:61:13: warning: control reaches end of non-void function [-Wreturn-type]
61 | eval_exp(a, n) ;
| ~~~~~~~~^~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | Killed by Signal 11 | 0 |
2 | 2ms | 184kb | Killed by Signal 11 | 0 |
3 | 2ms | 184kb | Killed by Signal 11 | 0 |
4 | 2ms | 184kb | Killed by Signal 11 | 0 |
5 | 2ms | 184kb | Killed by Signal 11 | 0 |
6 | 2ms | 184kb | Killed by Signal 11 | 0 |
7 | 2ms | 184kb | Killed by Signal 11 | 0 |
8 | 2ms | 184kb | Killed by Signal 11 | 0 |
9 | 2ms | 184kb | Killed by Signal 11 | 0 |
10 | 6ms | 614kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |