제출 #1128613

#제출 시각아이디문제언어결과실행 시간메모리
1128613PakinDioxideTracks in the Snow (BOI13_tracks)C++17
2.19 / 100
577 ms412 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 timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...