Borderou de evaluare (job #3237835)

Utilizator Alexandru_cioAlexandru Ciobanica Alexandru_cio Data 13 iulie 2024 15:14:43
Problema Foametea Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int32_t main()': main.cpp:25:25: warning: overflow in conversion from 'long long int' to 'int' changes value from '1000000000000000000' to '-1486618624' [-Woverflow] 25 | dp[t][i]=1ll*1000000000000000000; | ~~~^~~~~~~~~~~~~~~~~~~~ main.cpp:34:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<abc>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 34 | for(int i = 0;i<G[nod].size();i++){ | ~^~~~~~~~~~~~~~ main.cpp:49:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 49 | for(int i = 0;i<=k;i++) | ^~~ main.cpp:51:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 51 | if(dp[k][n]==1ll*1000000000000000000) | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbIncorect00
21ms557kbIncorect0
30ms557kbIncorect00
41ms557kbIncorect0
51ms561kbIncorect00
64ms1085kbIncorect0
75ms1081kbIncorect0
85ms1343kbIncorect00
95ms1605kbIncorect0
105ms1605kbIncorect0
Punctaj total0

Ceva nu functioneaza?