Pagini recente » Borderou de evaluare (job #1944623) | Borderou de evaluare (job #2340105) | Borderou de evaluare (job #513086) | Borderou de evaluare (job #2592302) | Borderou de evaluare (job #1438222)
Borderou de evaluare (job #1438222)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:60:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("interclasare.in","r",stdin);
^
user.cpp:61:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("interclasare.out","w",stdout);
^
user.cpp:62:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:63:45: 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:73:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:74:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i=1;i<=m;i++) scanf("%d",&b[i]);
^
user.cpp:104:18: warning: ‘y’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for (int k=y+1;k<=m;k++) c[++l]=b[k];
^
user.cpp:103:18: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for (int k=x+1;k<=n;k++) c[++l]=a[k];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 476kb | OK! | 10 |
2 | 0ms | 504kb | OK! | 10 |
3 | 4ms | 524kb | OK! | 10 |
4 | 4ms | 552kb | OK! | 10 |
5 | 4ms | 576kb | OK! | 10 |
6 | 4ms | 604kb | OK! | 10 |
7 | 8ms | 620kb | OK! | 10 |
8 | 8ms | 648kb | OK! | 10 |
9 | 8ms | 668kb | OK! | 10 |
10 | 12ms | 676kb | OK! | 10 |
Punctaj total | 100 |