Pagini recente » Borderou de evaluare (job #287091) | Borderou de evaluare (job #461045) | Borderou de evaluare (job #2855624) | Borderou de evaluare (job #3276124) | Borderou de evaluare (job #2149866)
Borderou de evaluare (job #2149866)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:11: warning: unused variable ‘poz3’ [-Wunused-variable]
int n,poz3;
^
user.cpp:15:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("borcane.in","r",stdin);
^
user.cpp:16:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("borcane.out","w",stdout);
^
user.cpp:18:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:19:51: 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",&v[i].first);v[i].second=i;}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 820kb | OK! | 10 |
2 | 0ms | 856kb | OK! | 10 |
3 | 0ms | 816kb | OK! | 10 |
4 | 0ms | 932kb | OK! | 10 |
5 | 0ms | 856kb | OK! | 10 |
6 | 4ms | 820kb | OK! | 10 |
7 | 8ms | 864kb | OK! | 10 |
8 | 12ms | 820kb | OK! | 10 |
9 | 28ms | 816kb | OK! | 10 |
10 | 0ms | 812kb | OK! | 10 |
Punctaj total | 100 |