Borderou de evaluare (job #2360521)

Utilizator akaprosAna Kapros akapros Data 1 martie 2019 21:36:08
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
118ms8257kbKilled by Signal 110
218ms8257kbKilled by Signal 110
319ms8257kbKilled by Signal 110
421ms8257kbKilled by Signal 110
521ms8257kbKilled by Signal 110
618ms8257kbKilled by Signal 110
721ms8257kbKilled by Signal 110
822ms8257kbKilled by Signal 110
918ms8257kbKilled by Signal 110
1021ms8257kbKilled by Signal 110
1121ms8257kbKilled by Signal 110
1218ms8257kbKilled by Signal 110
1318ms8257kbKilled by Signal 110
1421ms8257kbKilled by Signal 110
1518ms8257kbKilled by Signal 110
1621ms8257kbKilled by Signal 110
1721ms8257kbKilled by Signal 110
1821ms8257kbKilled by Signal 110
1921ms8257kbKilled by Signal 110
2021ms8257kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?