Borderou de evaluare (job #2360516)

Utilizator akaprosAna Kapros akapros Data 1 martie 2019 21:31:05
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
17ms1048kbKilled by Signal 110
27ms1048kbKilled by Signal 110
39ms1048kbKilled by Signal 110
47ms1048kbKilled by Signal 110
510ms1048kbKilled by Signal 110
69ms1048kbKilled by Signal 110
79ms1048kbKilled by Signal 110
89ms1048kbKilled by Signal 110
97ms1048kbKilled by Signal 110
109ms1048kbKilled by Signal 110
119ms1048kbKilled by Signal 110
129ms1048kbKilled by Signal 110
139ms1048kbKilled by Signal 110
147ms1048kbKilled by Signal 110
159ms1048kbKilled by Signal 110
169ms1048kbKilled by Signal 110
179ms1048kbKilled by Signal 110
189ms1048kbKilled by Signal 110
199ms1048kbKilled by Signal 110
209ms1048kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?