Borderou de evaluare (job #1989038)

Utilizator sergiudnyTritean Sergiu sergiudny Data 5 iunie 2017 17:28:28
Problema Lacusta Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:31:24: warning: overflow in implicit constant conversion [-Woverflow] mn1.val=mn2.val=INT_MAX; ^ user.cpp:34:20: warning: narrowing conversion of ‘k’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] mn1={dp[1][k],k}; ^ user.cpp:36:20: warning: narrowing conversion of ‘k’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] mn2={dp[1][k],k}; ^ In file included from /usr/include/string.h:642:0, from /usr/include/c++/4.8/cstring:42, from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:48, from user.cpp:1: In function ‘void* memset(void*, int, size_t)’, inlined from ‘void _Z3cops.part.2()’ at user.cpp:13:40, inlined from ‘void cop(short int)’: /usr/include/i386-linux-gnu/bits/string3.h:85:70: warning: call to void* __builtin___memset_chk(void*, int, unsigned int, unsigned int) will always overflow destination buffer [enabled by default] return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest)); ^ user.cpp: In function ‘int main()’: user.cpp:30:13: warning: ‘mn1.pct::ind’ may be used uninitialized in this function [-Wmaybe-uninitialized] pct mn1,mn2; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
116msDepăşitMemory limit exceeded.00
212msDepăşitMemory limit exceeded.0
34msDepăşitMemory limit exceeded.0
44msDepăşitMemory limit exceeded.00
54msDepăşitMemory limit exceeded.0
64msDepăşitMemory limit exceeded.0
74ms636kbKilled by signal 6(SIGABRT).00
84msDepăşitMemory limit exceeded.0
94msDepăşitMemory limit exceeded.0
1016msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?