Pagini recente » Borderou de evaluare (job #1788367) | Borderou de evaluare (job #2199677) | Borderou de evaluare (job #2506726) | Borderou de evaluare (job #2235996) | Borderou de evaluare (job #2165705)
Borderou de evaluare (job #2165705)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,i1,j1,n,maxx,mini;
^
user.cpp:8:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv7.in","r",stdin);
^
user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv7.out","w",stdout);
^
user.cpp:27:15: warning: ‘maxx’ may be used uninitialized in this function [-Wmaybe-uninitialized]
mini=v[1]+maxx+v[n];
^
user.cpp:35:34: warning: ‘j1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
cout<<mini<<endl<<i1<<" "<<j1;
^
user.cpp:35:23: warning: ‘i1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
cout<<mini<<endl<<i1<<" "<<j1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 2864kb | Secventa invalida! | 0 | 0 |
2 | 4ms | 2832kb | OK! | 10 |
3 | 4ms | 2824kb | OK! | 10 |
4 | 4ms | 2716kb | OK! | 10 | 10 |
5 | 8ms | 2648kb | OK! | 10 | 10 |
6 | 12ms | 2656kb | OK! | 10 | 10 |
7 | 16ms | 3012kb | OK! | 10 | 10 |
8 | 20ms | 2940kb | OK! | 10 | 10 |
9 | 24ms | 3112kb | OK! | 10 | 10 |
10 | 28ms | 2868kb | OK! | 10 | 10 |
Punctaj total | 70 |