Pagini recente » Borderou de evaluare (job #2281580) | Borderou de evaluare (job #2772646) | Borderou de evaluare (job #304452) | Borderou de evaluare (job #2320079) | Borderou de evaluare (job #2351911)
Borderou de evaluare (job #2351911)
Raport evaluator
Compilare:
main.cpp: In function 'int timp(int)':
main.cpp:31:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'int main()':
main.cpp:52:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=n;++i) s+=v[i]; cout<<s;
^~~
main.cpp:52:32: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(i=1;i<=n;++i) s+=v[i]; cout<<s;
^~~~
main.cpp:34:11: warning: unused variable 'j' [-Wunused-variable]
int i,j,mn=-oo;
^
main.cpp: In function 'int s1(int)':
main.cpp:15:12: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized]
return p;
^
main.cpp: In function 'int s2()':
main.cpp:23:12: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized]
return p;
^
main.cpp: In function 'int main()':
main.cpp:43:13: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized]
{if(v[mn])
~~~~^
main.cpp:19:17: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized]
int i,mn=oo,p;
^
main.cpp:19:17: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 3ms | 131kb | OK | 10 |
5 | 3ms | 131kb | OK | 10 |
6 | 15ms | 131kb | OK | 10 |
7 | 14ms | 131kb | OK | 10 |
8 | 39ms | 131kb | OK | 10 |
9 | 25ms | 131kb | OK | 10 |
10 | 20ms | 131kb | OK | 10 |
Punctaj total | 100 |