Borderou de evaluare (job #3254848)

Utilizator mihaigeorgescuGeorgescu Mihai mihaigeorgescu Data 8 noiembrie 2024 23:08:37
Problema Gheizere Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 60

Raport evaluator

Compilare: main.cpp: In function 'bool verif(int, int, int)': main.cpp:31:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 31 | for(int i=0; i<mp[a][b].size(); i++) | ~^~~~~~~~~~~~~~~~ main.cpp: In function 'int lee(int, int)': main.cpp:47:13: warning: narrowing conversion of 'a' from 'int' to 'short int' [-Wnarrowing] 47 | q.push({a,b,1}); | ^ main.cpp:47:15: warning: narrowing conversion of 'b' from 'int' to 'short int' [-Wnarrowing] 47 | q.push({a,b,1}); | ^ main.cpp:73:41: warning: narrowing conversion of 'l' from 'int' to 'short int' [-Wnarrowing] 73 | q.push({l,c,tmp+1}); | ^ main.cpp:73:43: warning: narrowing conversion of 'c' from 'int' to 'short int' [-Wnarrowing] 73 | q.push({l,c,tmp+1}); | ^ main.cpp:73:48: warning: narrowing conversion of '(tmp + 1)' from 'int' to 'short int' [-Wnarrowing] 73 | q.push({l,c,tmp+1}); | ~~~^~ main.cpp:79:45: warning: narrowing conversion of 'l' from 'int' to 'short int' [-Wnarrowing] 79 | q.push({l,c,tmp+1}); | ^ main.cpp:79:47: warning: narrowing conversion of 'c' from 'int' to 'short int' [-Wnarrowing] 79 | q.push({l,c,tmp+1}); | ^ main.cpp:79:52: warning: narrowing conversion of '(tmp + 1)' from 'int' to 'short int' [-Wnarrowing] 79 | q.push({l,c,tmp+1}); | ~~~^~ main.cpp: In function 'int main()': main.cpp:96:33: warning: narrowing conversion of 'r' from 'int' to 'short int' [-Wnarrowing] 96 | gheizere.push_back({x,y,r,t,d1}); | ^ main.cpp:96:35: warning: narrowing conversion of 't' from 'int' to 'short int' [-Wnarrowing] 96 | gheizere.push_back({x,y,r,t,d1}); | ^ main.cpp:96:37: warning: narrowing conversion of 'd1' from 'int' to 'short int' [-Wnarrowing] 96 | gheizere.push_back({x,y,r,t,d1}); | ^~ main.cpp: In function 'int lee(int, int)': main.cpp:88:1: warning: control reaches end of non-void function [-Wreturn-type] 88 | } | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbOK100
211ms2973kbKilled by Signal 110
33ms2654kbOK10
41ms819kbOK10
52ms2392kbOK1030
63ms2654kbOK10
73ms2129kbOK10
83ms2392kbOK1030
93ms2654kbOK10
103ms2654kbOK10
Punctaj total60

Ceva nu functioneaza?