| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1369752 | charlesti | Love Polygon (BOI18_polygon) | C++20 | 4 ms | 344 KiB |
#include <bits/stdc++.h>
using namespace std;
map<string, string> mp;
signed main(){
cin.tie(0); ios::sync_with_stdio(0);
int n; cin >> n;
if(n&1){
cout << "-1";
return 0;
}
for(int i=1; i<=n; i++){
string a, b; cin >> a >> b;
}
cout << n/2;
return 0;
}
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
