Borderou de evaluare (job #2645566)

Utilizator saeed_odakSaeed Odak saeed_odak Data 28 august 2020 22:09:35
Problema Sakura Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 60

Raport evaluator

Compilare: main.cpp: In function 'bool bfs()': main.cpp:63:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<g[u].size(); i++) { ~^~~~~~~~~~~~ main.cpp: In function 'int dfs(int, int)': main.cpp:77:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(; ptr[u] < g[u].size(); ptr[u]++) { ~~~~~~~^~~~~~~~~~~~~ main.cpp: In function 'bool memo(int, int)': main.cpp:156:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] return dp[x][y] = (BipartiteMatching() == cnt); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:160:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("sakura.in", "r", stdin); ^ main.cpp:161:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("sakura.out", "w", stdout); ^ main.cpp:164:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &tc); ^ main.cpp:166:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:172:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); ^ main.cpp:176:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ main.cpp:182:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
16ms1441kbOK10
26ms1441kbOK10
320ms1572kbOK10
418ms1572kbOK10
512ms1572kbOK10
618ms1572kbOK10
7300ms6397kbTime limit exceeded0
8303ms4050kbTime limit exceeded0
9300ms4214kbTime limit exceeded0
10302ms4476kbTime limit exceeded0
Punctaj total60

Ceva nu functioneaza?