| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1362607 | Aisha | Boarding Passes (BOI22_passes) | C++20 | 0 ms | 344 KiB |
#include <bits/stdc++.h>
using namespace std;
#define int long long
signed main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
string s; cin >> s;
int n = s.size();
if (n <= 2) cout << 0 << endl;
else if (n == 3) cout << 0.5 << endl;
else if (n == 4) cout << 1 << endl;
else if (n == 5) cout << 2 << endl;
else if (n == 6) cout << 2.75 << endl;
else cout << -1 << endl;
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... | ||||
