Pagini recente » Borderou de evaluare (job #3002955) | Borderou de evaluare (job #2663771) | Borderou de evaluare (job #3004181) | Borderou de evaluare (job #2308031) | Borderou de evaluare (job #2505393)
Borderou de evaluare (job #2505393)
Raport evaluator
Compilare:
main.cpp: In function 'void trans_lt(char*, int)':
main.cpp:31:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<strlen(lt)/2;i++)
~^~~~~~~~~~~~~
main.cpp: In function 'void inmultire(char*)':
main.cpp:42:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
while(p=strchr(a,'*'))
^
main.cpp: In function 'void paranteze(char*)':
main.cpp:85:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
while(p=strchr(a,')'))
^
main.cpp:84:13: warning: unused variable 'lt' [-Wunused-variable]
char *p,lt[10],in[257];int p1,p2,nr,nr1;
^~
main.cpp: In function 'void rezolva(char*, int&, int&, int&)':
main.cpp:153:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<strlen(a);i++)
~^~~~~~~~~~
main.cpp:164:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(!numar(b[y])&&y<=strlen(b))
~^~~~~~~~~~~
main.cpp:166:13: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(numar(b[y]))
^~~~~
main.cpp:168:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
nr=nr*semn[t];
^~
main.cpp: In function 'int main()':
main.cpp:195:19: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[257]' [-Wformat=]
scanf("%s",&ec);
^
main.cpp:199:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=p-ec+1;i<strlen(ec);i++)
~^~~~~~~~~~~
main.cpp:195:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&ec);
^
main.cpp: In function 'void paranteze(char*)':
main.cpp:84:32: warning: 'p1' may be used uninitialized in this function [-Wmaybe-uninitialized]
char *p,lt[10],in[257];int p1,p2,nr,nr1;
^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Fisier de iesire incomplet | 0 |
2 | 2ms | 131kb | Fisier de iesire incomplet | 0 |
3 | 2ms | 131kb | Fisier de iesire incomplet | 0 |
4 | 2ms | 131kb | Fisier de iesire incomplet | 0 |
5 | 2ms | 131kb | Fisier de iesire incomplet | 0 |
6 | 4ms | 131kb | Fisier de iesire incomplet | 0 |
7 | 2ms | 131kb | Fisier de iesire incomplet | 0 |
8 | 2ms | 131kb | Fisier de iesire incomplet | 0 |
9 | 3ms | 131kb | Fisier de iesire incomplet | 0 |
10 | 2ms | 131kb | Fisier de iesire incomplet | 0 |
11 | 2ms | 131kb | Fisier de iesire incomplet | 0 |
Punctaj total | 0 |