Pagini recente » Borderou de evaluare (job #1191132) | Borderou de evaluare (job #374709) | Borderou de evaluare (job #748547) | Borderou de evaluare (job #1947704) | Borderou de evaluare (job #1190534)
Borderou de evaluare (job #1190534)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(max=0)
^
user.cpp:9:34: 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:10:36: 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:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:14:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",v+i);
^
user.cpp:32:24: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d ",v[poz]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 280kb | Corect! | 10 | 10 |
2 | 4ms | 284kb | Corect! | 10 | 10 |
3 | 0ms | 260kb | Corect! | 10 | 10 |
4 | 0ms | 264kb | Corect! | 10 | 10 |
5 | 0ms | 264kb | Corect! | 10 | 10 |
6 | 4ms | 276kb | Corect! | 10 | 10 |
7 | 8ms | 280kb | Corect! | 10 | 10 |
8 | Depăşit | 692kb | Time limit exceeded. | 0 | 0 |
9 | Depăşit | 692kb | Time limit exceeded. | 0 |
10 | Depăşit | 700kb | Time limit exceeded. | 0 |
Punctaj total | 70 |