Pagini recente » Borderou de evaluare (job #51875) | Borderou de evaluare (job #2727127) | Borderou de evaluare (job #2098201) | Borderou de evaluare (job #3246290) | Borderou de evaluare (job #2020511)
Borderou de evaluare (job #2020511)
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 | 460kb | OK | 10 |
3 | 0ms | 460kb | OK | 10 |
4 | 0ms | 460kb | OK | 10 |
5 | 0ms | 492kb | OK | 10 |
6 | 4ms | 524kb | OK | 10 |
7 | 200ms | 4548kb | OK | 10 |
8 | 292ms | 4548kb | OK | 10 |
9 | 1188ms | 19964kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 1324ms | 19964kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 80 |