Pagini recente » Borderou de evaluare (job #1867377) | Borderou de evaluare (job #1168590) | Borderou de evaluare (job #475353) | Borderou de evaluare (job #398414) | Borderou de evaluare (job #2645568)
Borderou de evaluare (job #2645568)
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:155:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
return dp[x][y] = (BipartiteMatching() == cnt);
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:159: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:160: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:163:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tc);
^
main.cpp:165:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:171: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:175:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
main.cpp:181: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 | 17ms | 1572kb | OK | 10 |
7 | 300ms | 6397kb | Time limit exceeded | 0 |
8 | 280ms | 4050kb | OK | 10 |
9 | 302ms | 3919kb | Time limit exceeded | 0 |
10 | 302ms | 3923kb | Time limit exceeded | 0 |
Punctaj total | 70 |