Pagini recente » Borderou de evaluare (job #1747361) | Borderou de evaluare (job #2648639) | Borderou de evaluare (job #1835607) | Borderou de evaluare (job #2688138) | Borderou de evaluare (job #2645576)
Borderou de evaluare (job #2645576)
Raport evaluator
Compilare:
main.cpp: In function 'bool memo(int, int)':
main.cpp:68:34: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(szb[x] == 0) return dp[x][y] = 1;
~~~~~~~~~^~~
main.cpp:69:38: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(sza[y] < szb[x]) return dp[x][y] = 0;
~~~~~~~~~^~~
main.cpp:82: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:86: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:87: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:90:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tc);
^
main.cpp:92:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:98: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:102:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
main.cpp:108: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 | 4ms | 1179kb | OK | 10 |
2 | 5ms | 1179kb | OK | 10 |
3 | 19ms | 1441kb | OK | 10 |
4 | 17ms | 1409kb | OK | 10 |
5 | 12ms | 1310kb | OK | 10 |
6 | 17ms | 1441kb | OK | 10 |
7 | 300ms | 6135kb | Time limit exceeded | 0 |
8 | 292ms | 3788kb | OK | 10 |
9 | 302ms | 5562kb | Time limit exceeded | 0 |
10 | 302ms | 3661kb | Time limit exceeded | 0 |
Punctaj total | 70 |