Pagini recente » Borderou de evaluare (job #805221) | Borderou de evaluare (job #1858134) | Borderou de evaluare (job #1266422) | Borderou de evaluare (job #862849) | Borderou de evaluare (job #2645569)
Borderou de evaluare (job #2645569)
Raport evaluator
Compilare:
main.cpp: In function 'bool bfs()':
main.cpp:63: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:77: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:137:34: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(szb[x] == 0) return dp[x][y] = 1;
~~~~~~~~~^~~
main.cpp:138:38: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(sza[y] < szb[x]) return dp[x][y] = 0;
~~~~~~~~~^~~
main.cpp:151:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
return dp[x][y] = (BipartiteMatching() == szb[x]);
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:155: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:156: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:159:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tc);
^
main.cpp:161:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:167: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:171:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
main.cpp:177: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 | 1441kb | OK | 10 |
2 | 6ms | 1441kb | OK | 10 |
3 | 20ms | 1572kb | OK | 10 |
4 | 18ms | 1572kb | OK | 10 |
5 | 12ms | 1572kb | OK | 10 |
6 | 18ms | 1572kb | OK | 10 |
7 | 300ms | 6397kb | Time limit exceeded | 0 |
8 | 303ms | 4050kb | Time limit exceeded | 0 |
9 | 300ms | 4050kb | Time limit exceeded | 0 |
10 | 303ms | 3923kb | Time limit exceeded | 0 |
Punctaj total | 60 |