Pagini recente » Borderou de evaluare (job #2465654) | Borderou de evaluare (job #735411) | Borderou de evaluare (job #380012) | Borderou de evaluare (job #618938) | Borderou de evaluare (job #1384683)
Borderou de evaluare (job #1384683)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("split.in","r",stdin);
^
user.cpp:8:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("split.out","w",stdout);
^
user.cpp:9:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:10:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++) scanf("%d",&a[i]);
^
user.cpp:25:15: warning: ‘i3’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int i1,i2,i3,maxc=0,max1=0,min1=100000000,max2=0,min2=100000000,costmj,posj,costmjt;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 0ms | 256kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 |
4 | 0ms | 268kb | OK | 10 |
5 | 0ms | 264kb | OK | 10 |
6 | 44ms | 292kb | OK | 10 |
7 | 88ms | 312kb | OK | 10 |
8 | 124ms | 308kb | OK | 10 |
9 | 128ms | 304kb | OK | 10 |
10 | 128ms | 312kb | OK | 10 |
Punctaj total | 100 |