Borderou de evaluare (job #1745365)

Utilizator mariakKapros Maria mariak Data 21 august 2016 18:17:07
Problema Petrica Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void DFS(int)’: user.cpp:35:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < G[x].size(); ++ i) ^ user.cpp: In function ‘void dfs(int, int)’: user.cpp:50:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < G[x].size(); ++ i) ^ user.cpp: In function ‘void solve()’: user.cpp:6:21: warning: comparisons like ‘X<=Y<=Z’ do not have their mathematical meaning [-Wparentheses] #define Max(x, y) x > y ? x : y ^ user.cpp:120:21: note: in expansion of macro ‘Max’ if (Max(s1, Max(s2, Max(s3, s4))) - Min(s1, Min(s2, Min(s3, s4))) < sol) ^ user.cpp:6:21: warning: comparisons like ‘X<=Y<=Z’ do not have their mathematical meaning [-Wparentheses] #define Max(x, y) x > y ? x : y ^ user.cpp:120:21: note: in expansion of macro ‘Max’ if (Max(s1, Max(s2, Max(s3, s4))) - Min(s1, Min(s2, Min(s3, s4))) < sol) ^ user.cpp:120:29: note: in expansion of macro ‘Max’ if (Max(s1, Max(s2, Max(s3, s4))) - Min(s1, Min(s2, Min(s3, s4))) < sol) ^ user.cpp:6:21: warning: comparisons like ‘X<=Y<=Z’ do not have their mathematical meaning [-Wparentheses] #define Max(x, y) x > y ? x : y ^ user.cpp:120:21: note: in expansion of macro ‘Max’ if (Max(s1, Max(s2, Max(s3, s4))) - Min(s1, Min(s2, Min(s3, s4))) < sol) ^ user.cpp:120:29: note: in expansion of macro ‘Max’ if (Max(s1, Max(s2, Max(s3, s4))) - Min(s1, Min(s2, Min(s3, s4))) < sol) ^ user.cpp:5:21: warning: comparisons like ‘X<=Y<=Z’ do not have their mathematical meaning [-Wparentheses] #define Min(x, y) x < y ? x : y ^ user.cpp:120:53: note: in expansion of macro ‘Min’ if (Max(s1, Max(s2, Max(s3, s4))) - Min(s1, Min(s2, Min(s3, s4))) < sol) ^ user.cpp:5:21: warning: comparisons like ‘X<=Y<=Z’ do not have their mathematical meaning [-Wparentheses] #define Min(x, y) x < y ? x : y ^ user.cpp:120:53: note: in expansion of macro ‘Min’ if (Max(s1, Max(s2, Max(s3, s4))) - Min(s1, Min(s2, Min(s3, s4))) < sol) ^ user.cpp:120:61: note: in expansion of macro ‘Min’ if (Max(s1, Max(s2, Max(s3, s4))) - Min(s1, Min(s2, Min(s3, s4))) < sol) ^ user.cpp:5:21: warning: comparisons like ‘X<=Y<=Z’ do not have their mathematical meaning [-Wparentheses] #define Min(x, y) x < y ? x : y
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms456kbWrong answer!0
20ms456kbWrong answer!0
30ms456kbWrong answer!0
40ms456kbWrong answer!0
50ms452kbWrong answer!0
68ms456kbWrong answer!0
716ms464kbWrong answer!0
868ms460kbWrong answer!0
972ms456kbWrong answer!0
1072ms456kbWrong answer!0
Punctaj total0

Ceva nu functioneaza?