Pagini recente » Borderou de evaluare (job #1098041) | Borderou de evaluare (job #994370) | Borderou de evaluare (job #1298315) | Borderou de evaluare (job #1904054) | Borderou de evaluare (job #2645574)
Borderou de evaluare (job #2645574)
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 |
1 | 6ms | 1179kb | OK | 10 |
2 | 6ms | 1179kb | OK | 10 |
3 | 19ms | 1441kb | OK | 10 |
4 | 17ms | 1409kb | OK | 10 |
5 | 11ms | 1310kb | OK | 10 |
6 | 17ms | 1409kb | OK | 10 |
7 | 301ms | 6135kb | Time limit exceeded | 0 |
8 | 303ms | 3788kb | Time limit exceeded | 0 |
9 | 303ms | 3821kb | Time limit exceeded | 0 |
10 | 300ms | 3661kb | Time limit exceeded | 0 |
Punctaj total | 60 |