Pagini recente » Borderou de evaluare (job #1617768) | Borderou de evaluare (job #758359) | Borderou de evaluare (job #182155) | Borderou de evaluare (job #1914522) | Borderou de evaluare (job #1661025)
Borderou de evaluare (job #1661025)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for (i=1; i<=n; i++) scanf("%d",&a[i]);
^
user.cpp:13:31: warning: unused variable ‘s’ [-Wunused-variable]
long long int n, m, i, j, s=0, med, sol=0, Min=INF;
^
user.cpp:14:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pikachu.in","r",stdin);
^
user.cpp:15:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pikachu.out","w",stdout);
^
user.cpp:16:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld",&n,&m);
^
user.cpp:17:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1; i<=n; i++) scanf("%d",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 264kb | OK | 10 | 10 |
2 | 0ms | 264kb | OK | 10 | 10 |
3 | 0ms | 264kb | OK | 10 | 10 |
4 | Depăşit | 288kb | Time limit exceeded. | 0 | 0 |
5 | Depăşit | 428kb | Time limit exceeded. | 0 | 0 |
6 | Depăşit | 628kb | Time limit exceeded. | 0 |
7 | Depăşit | 764kb | Time limit exceeded. | 0 |
8 | Depăşit | 1092kb | Time limit exceeded. | 0 | 0 |
9 | Depăşit | 1192kb | Time limit exceeded. | 0 | 0 |
10 | Depăşit | 1364kb | Time limit exceeded. | 0 | 0 |
Punctaj total | 30 |