Borderou de evaluare (job #3254843)

Utilizator mihaigeorgescuGeorgescu Mihai mihaigeorgescu Data 8 noiembrie 2024 22:51:55
Problema Gheizere Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'bool verif(int, int, int)': main.cpp:32:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 32 | for(int i=0; i<mp[{a,b}].size(); i++) | ~^~~~~~~~~~~~~~~~~ main.cpp: In function 'int lee(int, int)': main.cpp:48:13: warning: narrowing conversion of 'a' from 'int' to 'short int' [-Wnarrowing] 48 | q.push({a,b,1}); | ^ main.cpp:48:15: warning: narrowing conversion of 'b' from 'int' to 'short int' [-Wnarrowing] 48 | q.push({a,b,1}); | ^ main.cpp:70:29: warning: narrowing conversion of 'l' from 'int' to 'short int' [-Wnarrowing] 70 | q.push({l,c,tmp+1}); | ^ main.cpp:70:31: warning: narrowing conversion of 'c' from 'int' to 'short int' [-Wnarrowing] 70 | q.push({l,c,tmp+1}); | ^ main.cpp:70:36: warning: narrowing conversion of '(tmp + 1)' from 'int' to 'short int' [-Wnarrowing] 70 | q.push({l,c,tmp+1}); | ~~~^~ main.cpp:76:33: warning: narrowing conversion of 'l' from 'int' to 'short int' [-Wnarrowing] 76 | q.push({l,c,tmp+1}); | ^ main.cpp:76:35: warning: narrowing conversion of 'c' from 'int' to 'short int' [-Wnarrowing] 76 | q.push({l,c,tmp+1}); | ^ main.cpp:76:40: warning: narrowing conversion of '(tmp + 1)' from 'int' to 'short int' [-Wnarrowing] 76 | q.push({l,c,tmp+1}); | ~~~^~ main.cpp: In function 'int main()': main.cpp:91:33: warning: narrowing conversion of 'r' from 'int' to 'short int' [-Wnarrowing] 91 | gheizere.push_back({x,y,r,t,d1}); | ^ main.cpp:91:35: warning: narrowing conversion of 't' from 'int' to 'short int' [-Wnarrowing] 91 | gheizere.push_back({x,y,r,t,d1}); | ^ main.cpp:91:37: warning: narrowing conversion of 'd1' from 'int' to 'short int' [-Wnarrowing] 91 | gheizere.push_back({x,y,r,t,d1}); | ^~ main.cpp: In function 'int lee(int, int)': main.cpp:83:1: warning: control reaches end of non-void function [-Wreturn-type] 83 | } | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
123ms1236kbOK100
2203ms20705kbMemory limit exceeded0
3158ms20725kbMemory limit exceeded0
4353ms5222kbTime limit exceeded0
5198ms20508kbMemory limit exceeded00
6158ms20688kbMemory limit exceeded0
7173ms20500kbMemory limit exceeded0
8172ms20996kbMemory limit exceeded00
9162ms20709kbMemory limit exceeded0
10203ms20647kbMemory limit exceeded0
Punctaj total0

Ceva nu functioneaza?