Borderou de evaluare (job #3254838)

Utilizator mihaigeorgescuGeorgescu Mihai mihaigeorgescu Data 8 noiembrie 2024 22:42:06
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<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:68:29: warning: narrowing conversion of 'l' from 'int' to 'short int' [-Wnarrowing] 68 | q.push({l,c,tmp+1}); | ^ main.cpp:68:31: warning: narrowing conversion of 'c' from 'int' to 'short int' [-Wnarrowing] 68 | q.push({l,c,tmp+1}); | ^ main.cpp:68:36: warning: narrowing conversion of '(tmp + 1)' from 'int' to 'short int' [-Wnarrowing] 68 | q.push({l,c,tmp+1}); | ~~~^~ main.cpp:74:33: warning: narrowing conversion of 'l' from 'int' to 'short int' [-Wnarrowing] 74 | q.push({l,c,tmp+1}); | ^ main.cpp:74:35: warning: narrowing conversion of 'c' from 'int' to 'short int' [-Wnarrowing] 74 | q.push({l,c,tmp+1}); | ^ main.cpp:74:40: warning: narrowing conversion of '(tmp + 1)' from 'int' to 'short int' [-Wnarrowing] 74 | q.push({l,c,tmp+1}); | ~~~^~ main.cpp: In function 'int main()': main.cpp:89:33: warning: narrowing conversion of 'r' from 'int' to 'short int' [-Wnarrowing] 89 | gheizere.push_back({x,y,r,t,d1}); | ^ main.cpp:89:35: warning: narrowing conversion of 't' from 'int' to 'short int' [-Wnarrowing] 89 | gheizere.push_back({x,y,r,t,d1}); | ^ main.cpp:89:37: warning: narrowing conversion of 'd1' from 'int' to 'short int' [-Wnarrowing] 89 | gheizere.push_back({x,y,r,t,d1}); | ^~ main.cpp: In function 'int lee(int, int)': main.cpp:81:1: warning: control reaches end of non-void function [-Wreturn-type] 81 | } | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms438kbKilled by Signal 1100
228ms4890kbKilled by Signal 110
339ms4263kbOK10
46ms819kbOK10
514ms2850kbOK1030
663ms5107kbOK10
759ms4280kbOK10
854ms5767kbOK1030
964ms5910kbOK10
1064ms5890kbOK10
Punctaj total60

Ceva nu functioneaza?