Borderou de evaluare (job #2645311)

Utilizator saeed_odakSaeed Odak saeed_odak Data 27 august 2020 18:31:00
Problema Sakura Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'bool bfs()': main.cpp:84: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:98: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:142:31: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(cnt == 0) return dp[x][y] = 1; ~~~~~~~~~^~~ main.cpp:156:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] return dp[x][y] = (res == cnt); ~~~~~~~~~^~~~~~~~~~~~~~ main.cpp: In function 'int main()': 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: In function 'int getint()': main.cpp:12:48: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] if(++_ptr>=maxb) fread(buf,maxb,1,fin),_ptr=0; ^ main.cpp:15:48: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] if(++_ptr>=maxb) fread(buf,maxb,1,fin),_ptr=0; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms1572kbOK10
28ms1572kbOK10
366ms2424kbOK10
465ms2031kbIncorect0
541ms2035kbIncorect0
658ms2031kbIncorect0
7300ms14139kbTime limit exceeded0
8300ms13881kbTime limit exceeded0
9303ms13750kbTime limit exceeded0
10301ms13881kbTime limit exceeded0
Punctaj total30

Ceva nu functioneaza?