Borderou de evaluare (job #2360520)

Utilizator akaprosAna Kapros akapros Data 1 martie 2019 21:35:38
Problema Amiba Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void read(int)': main.cpp:32:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i].val); ^ main.cpp:39:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[t][i]); ^ main.cpp: In function 'int main()': main.cpp:125:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &T); ^ main.cpp:129:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &n, &a, &b); ^ In file included from /usr/include/string.h:635:0, from /usr/include/c++/6/cstring:42, from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:48, from main.cpp:1: In function 'void* memset(void*, int, size_t)', inlined from 'void read(int)' at main.cpp:29:30: /usr/include/x86_64-linux-gnu/bits/string3.h:90:70: warning: call to void* __builtin___memset_chk(void*, int, long unsigned int, long unsigned int) will always overflow destination buffer return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest)); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
19ms1048kbKilled by Signal 110
27ms1048kbKilled by Signal 110
39ms1048kbKilled by Signal 110
47ms1048kbKilled by Signal 110
57ms1048kbKilled by Signal 110
69ms1048kbKilled by Signal 110
77ms1048kbKilled by Signal 110
89ms1048kbKilled by Signal 110
97ms1048kbKilled by Signal 110
107ms1048kbKilled by Signal 110
117ms1048kbKilled by Signal 110
127ms1048kbKilled by Signal 110
137ms1048kbKilled by Signal 110
149ms1048kbKilled by Signal 110
159ms1048kbKilled by Signal 110
169ms1048kbKilled by Signal 110
177ms1048kbKilled by Signal 110
187ms1048kbKilled by Signal 110
199ms1048kbKilled by Signal 110
209ms1048kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?