Pagini recente » Borderou de evaluare (job #875647) | Borderou de evaluare (job #2260482) | Borderou de evaluare (job #1043345) | Cod sursa (job #1731237) | Borderou de evaluare (job #2407288)
Borderou de evaluare (job #2407288)
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:54: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 | Incorect | 0 |
| 2 | 2ms | 131kb | Incorect | 0 |
| 3 | 2ms | 131kb | Incorect | 0 |
| 4 | 4ms | 131kb | Incorect | 0 |
| 5 | 4ms | 131kb | Incorect | 0 |
| 6 | 46ms | 393kb | Incorect | 0 |
| 7 | 71ms | 655kb | Incorect | 0 |
| 8 | 84ms | 786kb | Incorect | 0 |
| 9 | 101ms | 524kb | Time limit exceeded | 0 |
| 10 | 101ms | 1048kb | Time limit exceeded | 0 |
| Punctaj total | 0 |