# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1128613 | PakinDioxide | Tracks in the Snow (BOI13_tracks) | C++17 | 577 ms | 412 KiB |
#include <bits/stdc++.h>
using namespace std;
int main() {
int f = 0, r = 0, n, m;
char x;
cin >> n >> m;
for (int i = 0; i < n; i++) for (int j = 0; j < m; j++) {cin >> x; {if (x == 'R') r=1; else if (x == 'F') f=1;}}
cout << f + r;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |