| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1315262 | heneni6579 | Tracks in the Snow (BOI13_tracks) | C++20 | 546 ms | 416 KiB |
#include <bits/stdc++.h>
int main()
{
int h, w;
std::cin >> h >> w;
bool fFound = false;
bool rFound = false;
for (int i = 0; i < h; i++)
for (int i = 0; i < w; i++)
{
char a;
std::cin >> a;
if (a == 'R')
rFound = true;
if (a == 'F')
fFound = true;
}
int res = 0;
if (rFound)
res += 1;
if (fFound)
res += 1;
std::cout << res << '\n';
return 0;
}
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
