Pagini recente » Borderou de evaluare (job #321787) | Borderou de evaluare (job #2281018) | Borderou de evaluare (job #1037070) | Borderou de evaluare (job #2435305) | Borderou de evaluare (job #2407290)
Borderou de evaluare (job #2407290)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:31:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
cin >> b1 + 1;
~~~^~~
main.cpp:32:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
cin >> b2 + 1;
~~~^~~
main.cpp:44:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (b2[p[i]] && !k2 || !b1[p[i]])
~~~~~~~~~^~~~~~
main.cpp:55:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (chosen[p[i]] || b2[p[i]] && !k2)
~~~~~~~~~^~~~~~
main.cpp:22:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("grup.in", "r", stdin);
^
main.cpp:23:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("grup.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 2ms | 131kb | Incorect | 0 |
4 | 4ms | 131kb | OK | 10 |
5 | 4ms | 131kb | Incorect | 0 |
6 | 45ms | 524kb | OK | 10 |
7 | 71ms | 655kb | Incorect | 0 |
8 | 96ms | 917kb | OK | 10 |
9 | 100ms | 1048kb | Time limit exceeded | 0 |
10 | 101ms | 655kb | Time limit exceeded | 0 |
Punctaj total | 40 |