Borderou de evaluare (job #1857723)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:27: warning: variable ‘pozf’ set but not used [-Wunused-but-set-variable]
int n,i,j,maxi,maxg,poz,pozf,comp;
^
user.cpp:7:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.in","r",stdin);
^
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("scmax.out","w",stdout);
^
user.cpp:10:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:12:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:33:3: warning: ‘maxi’ may be used uninitialized in this function [-Wmaybe-uninitialized]
while (a[n]!=maxi)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 456kb | Subsir incorect! | 5 | 5 |
2 | 12ms | 460kb | Subsir incorect! | 5 | 5 |
3 | 0ms | 444kb | Subsir incorect! | 5 | 5 |
4 | 0ms | 448kb | Subsir incorect! | 5 | 5 |
5 | 0ms | 452kb | Subsir incorect! | 5 | 5 |
6 | 8ms | 452kb | Subsir incorect! | 5 | 5 |
7 | 12ms | 456kb | Subsir incorect! | 5 | 5 |
8 | Depăşit | 832kb | Time limit exceeded. | 0 | 0 |
9 | Depăşit | 848kb | Time limit exceeded. | 0 |
10 | Depăşit | 836kb | Time limit exceeded. | 0 |
Punctaj total | 35 |