Pagini recente » Borderou de evaluare (job #661428) | Borderou de evaluare (job #1739399) | Borderou de evaluare (job #591754) | Borderou de evaluare (job #2711978) | Borderou de evaluare (job #1244929)
Borderou de evaluare (job #1244929)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:15:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
if (ci%2==1)printf("%d ",a[j]);
^
user.cpp:6:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("submultimi.in","r",stdin);
^
user.cpp:7:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("submultimi.out","w",stdout);
^
user.cpp:8:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 248kb | Correct! | 10 |
| 2 | 0ms | 252kb | Correct! | 10 |
| 3 | 0ms | 244kb | Correct! | 10 |
| 4 | 0ms | 244kb | Correct! | 10 |
| 5 | 0ms | 244kb | Correct! | 10 |
| 6 | 4ms | 248kb | Correct! | 10 |
| 7 | 12ms | 244kb | Correct! | 10 |
| 8 | 28ms | 248kb | Correct! | 10 |
| 9 | 64ms | 248kb | Correct! | 10 |
| 10 | 140ms | 248kb | Correct! | 10 |
| Punctaj total | 100 |