Borderou de evaluare (job #2645574)

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

Raport evaluator

Compilare: main.cpp: In function 'bool memo(int, int)': main.cpp:69:34: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(szb[x] == 0) return dp[x][y] = 1; ~~~~~~~~~^~~ main.cpp:70:38: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(sza[y] < szb[x]) return dp[x][y] = 0; ~~~~~~~~~^~~ main.cpp:83:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] return dp[x][y] = (BipartiteMatching(ee) == szb[x]); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:87: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:88: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:91:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &tc); ^ main.cpp:93:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:99: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:103:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ main.cpp:109: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
16ms1179kbOK10
26ms1179kbOK10
319ms1441kbOK10
417ms1409kbOK10
511ms1310kbOK10
617ms1409kbOK10
7301ms6135kbTime limit exceeded0
8303ms3788kbTime limit exceeded0
9303ms3821kbTime limit exceeded0
10300ms3661kbTime limit exceeded0
Punctaj total60

Ceva nu functioneaza?