Pagini recente » Borderou de evaluare (job #3211079) | Borderou de evaluare (job #243978) | Borderou de evaluare (job #2312754) | Borderou de evaluare (job #2707153) | Borderou de evaluare (job #2645578)
Borderou de evaluare (job #2645578)
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 | 6ms | 1179kb | OK | 10 |
2 | 6ms | 1179kb | OK | 10 |
3 | 19ms | 1441kb | OK | 10 |
4 | 17ms | 1310kb | OK | 10 |
5 | 12ms | 1310kb | OK | 10 |
6 | 17ms | 1310kb | OK | 10 |
7 | 300ms | 6135kb | Time limit exceeded | 0 |
8 | 300ms | 3788kb | Time limit exceeded | 0 |
9 | 303ms | 4214kb | Time limit exceeded | 0 |
10 | 303ms | 3821kb | Time limit exceeded | 0 |
Punctaj total | 60 |