Borderou de evaluare (job #2326728)

Utilizator akaprosAna Kapros akapros Data 23 ianuarie 2019 22:12:17
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:116:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &T); ^ main.cpp:120: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
122ms8257kbKilled by Signal 110
221ms8257kbKilled by Signal 110
318ms8257kbKilled by Signal 110
418ms8257kbKilled by Signal 110
518ms8257kbKilled by Signal 110
622ms8257kbKilled by Signal 110
723ms8257kbKilled by Signal 110
821ms8257kbKilled by Signal 110
918ms8257kbKilled by Signal 110
1018ms8257kbKilled by Signal 110
1121ms8257kbKilled by Signal 110
1218ms8257kbKilled by Signal 110
1318ms8257kbKilled by Signal 110
1429ms8257kbKilled by Signal 110
1518ms8257kbKilled by Signal 110
1618ms8257kbKilled by Signal 110
1718ms8257kbKilled by Signal 110
1821ms8257kbKilled by Signal 110
1921ms8257kbKilled by Signal 110
2018ms8257kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?