Pagini recente » Borderou de evaluare (job #751081) | Borderou de evaluare (job #729386) | Borderou de evaluare (job #1116283) | Borderou de evaluare (job #58806) | Borderou de evaluare (job #2324450)
Borderou de evaluare (job #2324450)
Raport evaluator
Compilare:
main.cpp: In function 'int nr(int&)':
main.cpp:11:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while('0'<=c[st+1] && c[st+1]<='9' && st+1<=strlen(c))
~~~~^~~~~~~~~~~
main.cpp: In function 'int prod(int&, int)':
main.cpp:21:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(c[st]=='*'||c[st]=='/' && st+1<=strlen(c))
~~~~^~~~~~~~~~~
main.cpp:21:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
while(c[st]=='*'||c[st]=='/' && st+1<=strlen(c))
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int evaluare(int)':
main.cpp:44:13: warning: unused variable 's' [-Wunused-variable]
int s=0;
^
main.cpp:50:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | Incorect | 0 |
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 | 3ms | 262kb | Incorect | 0 |
10 | 3ms | 262kb | Incorect | 0 |
Punctaj total | 0 |