Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
romankurnovskii committed Sep 1, 2023
1 parent f6f2b49 commit 644dd94
Showing 1 changed file with 2 additions and 3 deletions.
@@ -1,5 +1,5 @@
---
title: "1788A - One and Two - 800"
title: "1788A - Flip Flop Sum - 800"
seoTitle: "Solution Codeforces 1778A - Flip Flop Sum (greedy, implementation, 800)"
description: "Codeforces 1778A - Flip Flop Sum (greedy, implementation, 800)"
toc: true
Expand All @@ -12,7 +12,7 @@ draft: false
weight: 80
---

<mark>[1778A - Flip Flop Sum (greedy, implementation, 800)](https://codeforces.com/contest/1788/problem/A)</mark>
<mark>[1778A - Flip Flop Sum (greedy, implementation, 800)](https://codeforces.com/contest/1778/problem/A)</mark>

There are three possible conditions:
1. `-1 -1` - all negative. In this case sum `-2` becomes sum `2`. Plus 4.
Expand All @@ -22,7 +22,6 @@ There are three possible conditions:
**Solution:**

```python

def solve():
n = int(input())
ar = list(map(int, input().split()))
Expand Down

0 comments on commit 644dd94

Please sign in to comment.