Pagini recente » Borderou de evaluare (job #2130628) | Borderou de evaluare (job #504919) | Borderou de evaluare (job #751045) | Borderou de evaluare (job #986137) | Borderou de evaluare (job #1953189)
Borderou de evaluare (job #1953189)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("panouri.in","r",stdin);
^
user.cpp:13:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("panouri.out","w",stdout);
^
user.cpp:14:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&t);
^
user.cpp:15: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",&v[i]);a.ap[v[i]]++;if(v[i]<Min)Min=v[i];if(v[i]>Max)Max=v[i];}
^
user.cpp:18:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 440kb | OK | 10 |
2 | 0ms | 460kb | OK | 10 |
3 | 4ms | 484kb | OK | 10 |
4 | 4ms | 488kb | OK | 10 |
5 | 4ms | 488kb | OK | 10 |
6 | 44ms | 1124kb | OK | 10 |
7 | 56ms | 1264kb | OK | 10 |
8 | 56ms | 1356kb | OK | 10 |
9 | 56ms | 1276kb | OK | 10 |
10 | 60ms | 1352kb | OK | 10 |
Punctaj total | 100 |