Pagini recente » Borderou de evaluare (job #2861521) | Borderou de evaluare (job #980146) | Borderou de evaluare (job #2312980) | Borderou de evaluare (job #132886) | Borderou de evaluare (job #2645579)
Borderou de evaluare (job #2645579)
Raport evaluator
Compilare:
main.cpp: In function 'bool memo(int, int)':
main.cpp:74:34: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(szb[x] == 0) return dp[x][y] = 1;
~~~~~~~~~^~~
main.cpp:75:38: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(sza[y] < szb[x]) return dp[x][y] = 0;
~~~~~~~~~^~~
main.cpp:84: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:88: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:89: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:92:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tc);
^
main.cpp:94:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:100: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:104:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
main.cpp:110: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 | 6ms | 1179kb | OK | 10 |
3 | 18ms | 1441kb | OK | 10 |
4 | 17ms | 1441kb | OK | 10 |
5 | 11ms | 1310kb | OK | 10 |
6 | 16ms | 1441kb | OK | 10 |
7 | 302ms | 6258kb | Time limit exceeded | 0 |
8 | 302ms | 3866kb | Time limit exceeded | 0 |
9 | 303ms | 4345kb | Time limit exceeded | 0 |
10 | 300ms | 3788kb | Time limit exceeded | 0 |
Punctaj total | 60 |