Pagini recente » Borderou de evaluare (job #1580172) | Borderou de evaluare (job #687744) | Borderou de evaluare (job #2964709) | Borderou de evaluare (job #946206) | Borderou de evaluare (job #2570708)
Borderou de evaluare (job #2570708)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:26:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<strlen(v);i++)
~^~~~~~~~~~
main.cpp:36:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
else if(v[i]>='x'&&v[i]<='z'||v[i]=='t')
~~~~~~~~~^~~~~~~~~~~
main.cpp:46:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(v[i]>='0'&&v[i]<='9'&&i<strlen(v))
~^~~~~~~~~~
main.cpp:26:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=0;i<strlen(v);i++)
^~~
main.cpp:62:10: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
out<<S;
^~~
main.cpp:16:11: warning: unused variable 'j' [-Wunused-variable]
int i,j,S=0,n,nr,semn,a,b,E,C;
^
main.cpp:16:17: warning: unused variable 'n' [-Wunused-variable]
int i,j,S=0,n,nr,semn,a,b,E,C;
^
main.cpp:50:28: warning: 'semn' may be used uninitialized in this function [-Wmaybe-uninitialized]
S=S+(semn*nr);
~~~~~^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Corect | 1 |
2 | 2ms | 131kb | Corect | 1 |
3 | 2ms | 131kb | Rapuns gresit | 0 |
4 | 2ms | 131kb | Rapuns gresit | 0 |
5 | 2ms | 131kb | Rapuns gresit | 0 |
6 | 2ms | 131kb | Corect | 5 |
7 | 2ms | 131kb | Rapuns gresit | 0 |
8 | 2ms | 131kb | Rapuns gresit | 0 |
9 | 2ms | 131kb | Corect | 5 |
10 | 2ms | 131kb | Rapuns gresit | 0 |
11 | 2ms | 131kb | Corect | 5 |
12 | 2ms | 131kb | Rapuns gresit | 0 |
13 | 3ms | 262kb | Rapuns gresit | 0 |
14 | 2ms | 131kb | Rapuns gresit | 0 |
15 | 2ms | 131kb | Rapuns gresit | 0 |
16 | 3ms | 262kb | Rapuns gresit | 0 |
17 | 3ms | 131kb | Corect | 5 |
18 | 3ms | 131kb | Rapuns gresit | 0 |
19 | 3ms | 262kb | Rapuns gresit | 0 |
20 | 3ms | 262kb | Rapuns gresit | 0 |
21 | 4ms | 262kb | Rapuns gresit | 0 |
22 | 4ms | 262kb | Rapuns gresit | 0 |
Punctaj total | 22 |