답안 #1094118

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
1094118 2024-09-28T13:18:05 Z MattNattFeczan Tracks in the Snow (BOI13_tracks) C++14
2.1875 / 100
252 ms 15960 KB
#include<bits/stdc++.h>
using namespace std;

int main(){
  int n,m;
  cin>>n>>m;
  bool r=0, f=0;
  for(int i=0;i<n;i++){
    string s;
    cin>>s;
    for(auto& elm : s){
      if(elm == 'R')
        r = true;
      else if(elm == 'F')
        f = true;
    }
  }
  int w = r+f;
  cout<<w;
}
# 결과 실행 시간 메모리 Grader output
1 Incorrect 4 ms 600 KB Output isn't correct
2 Incorrect 0 ms 344 KB Output isn't correct
3 Incorrect 0 ms 348 KB Output isn't correct
4 Incorrect 3 ms 348 KB Output isn't correct
5 Incorrect 2 ms 348 KB Output isn't correct
6 Incorrect 0 ms 344 KB Output isn't correct
7 Incorrect 0 ms 348 KB Output isn't correct
8 Incorrect 0 ms 348 KB Output isn't correct
9 Incorrect 0 ms 348 KB Output isn't correct
10 Incorrect 3 ms 348 KB Output isn't correct
11 Incorrect 1 ms 352 KB Output isn't correct
12 Incorrect 2 ms 352 KB Output isn't correct
13 Incorrect 2 ms 352 KB Output isn't correct
14 Incorrect 2 ms 352 KB Output isn't correct
15 Incorrect 4 ms 600 KB Output isn't correct
16 Incorrect 6 ms 600 KB Output isn't correct
17 Incorrect 4 ms 608 KB Output isn't correct
18 Incorrect 3 ms 352 KB Output isn't correct
# 결과 실행 시간 메모리 Grader output
1 Incorrect 1 ms 352 KB Output isn't correct
2 Incorrect 22 ms 1828 KB Output isn't correct
3 Incorrect 244 ms 15924 KB Output isn't correct
4 Incorrect 57 ms 3864 KB Output isn't correct
5 Incorrect 117 ms 9044 KB Output isn't correct
6 Incorrect 218 ms 15960 KB Output isn't correct
7 Incorrect 2 ms 352 KB Output isn't correct
8 Incorrect 1 ms 448 KB Output isn't correct
9 Incorrect 1 ms 512 KB Output isn't correct
10 Incorrect 1 ms 344 KB Output isn't correct
11 Incorrect 1 ms 456 KB Output isn't correct
12 Incorrect 1 ms 352 KB Output isn't correct
13 Incorrect 24 ms 1828 KB Output isn't correct
14 Incorrect 13 ms 1128 KB Output isn't correct
15 Incorrect 14 ms 1372 KB Output isn't correct
16 Incorrect 9 ms 1060 KB Output isn't correct
17 Incorrect 59 ms 4256 KB Output isn't correct
18 Incorrect 54 ms 4132 KB Output isn't correct
19 Incorrect 58 ms 3920 KB Output isn't correct
20 Incorrect 46 ms 3664 KB Output isn't correct
21 Incorrect 128 ms 9492 KB Output isn't correct
22 Incorrect 115 ms 9040 KB Output isn't correct
23 Incorrect 114 ms 7764 KB Output isn't correct
24 Incorrect 122 ms 9248 KB Output isn't correct
25 Incorrect 214 ms 15952 KB Output isn't correct
26 Correct 150 ms 12372 KB Output is correct
27 Incorrect 196 ms 15952 KB Output isn't correct
28 Incorrect 252 ms 15956 KB Output isn't correct
29 Incorrect 223 ms 15900 KB Output isn't correct
30 Incorrect 217 ms 15644 KB Output isn't correct
31 Incorrect 185 ms 10276 KB Output isn't correct
32 Incorrect 210 ms 15952 KB Output isn't correct