| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1359582 | sharanpai | Tracks in the Snow (BOI13_tracks) | C++17 | 334 ms | 16224 KiB |
// 2013 BOI Problem Tracks in the Snow
// Link: https://oj.uz/problem/view/BOI13_tracks
#include <iostream>
#include <vector>
using namespace std;
int main()
{
int H, W; cin >> H >> W;
vector<vector<char>> grid(H, vector<char>(W));
bool R = 0, F = 0;
for (int i = 0; i < H; ++i) {
for (int j = 0; j < W; ++j) {
cin >> grid[i][j];
if (grid[i][j] == 'R') R = true;
else if (grid[i][j] == 'F') F = true;
}
}
cout << R + F;
}| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
