답안 #1111617

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
1111617 2024-11-12T10:25:09 Z melody_rules Tracks in the Snow (BOI13_tracks) C++17
2.1875 / 100
232 ms 16044 KB
#include <bits/stdc++.h>
#define int long long
 
using namespace std;
 
signed main() {
  int n=0;
  int m=0;
  int i=0;
  int j=0;
  string s;
  bool check1=false;
  bool check2=false;
  
  cin>>n>>m;
  
  for(i=0;i<n;i++) {
    cin>>s;
    
    for(j=0;j<m;j++) {
      if(s[j] == 'F')
        check1=true;
      
      else if(s[j] == 'R')
        check2=true;
    }
  }
  
  if(check1 && check2)
    cout<<2<<endl;
  
  else
    cout<<1<<endl;
  
  return 0;
}
# 결과 실행 시간 메모리 Grader output
1 Incorrect 5 ms 592 KB Output isn't correct
2 Incorrect 1 ms 336 KB Output isn't correct
3 Incorrect 1 ms 336 KB Output isn't correct
4 Incorrect 4 ms 760 KB Output isn't correct
5 Incorrect 2 ms 336 KB Output isn't correct
6 Incorrect 1 ms 504 KB Output isn't correct
7 Incorrect 1 ms 336 KB Output isn't correct
8 Incorrect 1 ms 336 KB Output isn't correct
9 Incorrect 1 ms 336 KB Output isn't correct
10 Incorrect 2 ms 496 KB Output isn't correct
11 Incorrect 2 ms 336 KB Output isn't correct
12 Incorrect 3 ms 336 KB Output isn't correct
13 Incorrect 3 ms 336 KB Output isn't correct
14 Incorrect 2 ms 336 KB Output isn't correct
15 Incorrect 6 ms 592 KB Output isn't correct
16 Incorrect 5 ms 592 KB Output isn't correct
17 Incorrect 5 ms 592 KB Output isn't correct
18 Incorrect 3 ms 592 KB Output isn't correct
# 결과 실행 시간 메모리 Grader output
1 Incorrect 2 ms 336 KB Output isn't correct
2 Incorrect 25 ms 1864 KB Output isn't correct
3 Incorrect 231 ms 16044 KB Output isn't correct
4 Incorrect 64 ms 3980 KB Output isn't correct
5 Incorrect 113 ms 9036 KB Output isn't correct
6 Incorrect 229 ms 16044 KB Output isn't correct
7 Incorrect 2 ms 336 KB Output isn't correct
8 Incorrect 2 ms 336 KB Output isn't correct
9 Incorrect 2 ms 336 KB Output isn't correct
10 Incorrect 2 ms 504 KB Output isn't correct
11 Incorrect 2 ms 336 KB Output isn't correct
12 Incorrect 1 ms 336 KB Output isn't correct
13 Incorrect 23 ms 1864 KB Output isn't correct
14 Incorrect 14 ms 1104 KB Output isn't correct
15 Incorrect 17 ms 1320 KB Output isn't correct
16 Incorrect 11 ms 848 KB Output isn't correct
17 Incorrect 57 ms 4392 KB Output isn't correct
18 Incorrect 54 ms 4176 KB Output isn't correct
19 Incorrect 52 ms 3912 KB Output isn't correct
20 Incorrect 62 ms 3748 KB Output isn't correct
21 Incorrect 135 ms 9384 KB Output isn't correct
22 Incorrect 125 ms 9032 KB Output isn't correct
23 Incorrect 118 ms 7752 KB Output isn't correct
24 Incorrect 124 ms 8064 KB Output isn't correct
25 Incorrect 232 ms 15944 KB Output isn't correct
26 Correct 166 ms 12360 KB Output is correct
27 Incorrect 208 ms 15948 KB Output isn't correct
28 Incorrect 231 ms 15912 KB Output isn't correct
29 Incorrect 230 ms 15944 KB Output isn't correct
30 Incorrect 214 ms 15688 KB Output isn't correct
31 Incorrect 181 ms 10272 KB Output isn't correct
32 Incorrect 222 ms 15944 KB Output isn't correct