Pagini recente » Borderou de evaluare (job #2880214) | Borderou de evaluare (job #2956313) | Borderou de evaluare (job #683127) | Borderou de evaluare (job #933596) | Borderou de evaluare (job #1661027)
Borderou de evaluare (job #1661027)
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 | 272kb | OK | 10 | 10 |
2 | 0ms | 272kb | OK | 10 | 10 |
3 | 0ms | 272kb | OK | 10 | 10 |
4 | Depăşit | 300kb | Time limit exceeded. | 0 | 0 |
5 | 4ms | 312kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
6 | 0ms | 312kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 4ms | 312kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 4ms | 312kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
9 | 4ms | 312kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
10 | 4ms | 312kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
Punctaj total | 30 |