Pagini recente » Borderou de evaluare (job #2784461) | Borderou de evaluare (job #349937) | Borderou de evaluare (job #674283) | Borderou de evaluare (job #2815764) | Borderou de evaluare (job #2020510)
Borderou de evaluare (job #2020510)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for(int i=0;i<k;i++) scanf("%d",&a[i]);
^
user.cpp:18:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("light2.in","r",stdin);
^
user.cpp:19:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("light2.out","w",stdout);
^
user.cpp:22:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %d",&n,&k);
^
user.cpp:23:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=0;i<k;i++) scanf("%d",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 456kb | OK | 10 |
2 | 0ms | 456kb | OK | 10 |
3 | 0ms | 460kb | OK | 10 |
4 | 0ms | 456kb | OK | 10 |
5 | 0ms | 484kb | OK | 10 |
6 | 4ms | 516kb | OK | 10 |
7 | 200ms | 4544kb | OK | 10 |
8 | 292ms | 4548kb | OK | 10 |
9 | 1000ms | 16812kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 1116ms | 16812kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 80 |