답안 #811183

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
811183 2023-08-07T02:05:36 Z makanhulia Tracks in the Snow (BOI13_tracks) C++17
2.1875 / 100
190 ms 6860 KB
#include<bits/stdc++.h>
#define int long long
using namespace std;
signed main() {
    ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
    int h, w; cin >> h >> w;
    bool r, f; r=0; f=0;
  while(h--) {
      for(int i=0; i<w; i++) {char c; cin >> c; if(c=='R') r=1; if(c=='F') f=1;}
    }
  cout << r+f << '\n';
    return 0;
}
# 결과 실행 시간 메모리 Grader output
1 Incorrect 4 ms 212 KB Output isn't correct
2 Incorrect 0 ms 212 KB Output isn't correct
3 Incorrect 0 ms 212 KB Output isn't correct
4 Incorrect 2 ms 316 KB Output isn't correct
5 Incorrect 2 ms 212 KB Output isn't correct
6 Incorrect 0 ms 212 KB Output isn't correct
7 Incorrect 0 ms 212 KB Output isn't correct
8 Incorrect 0 ms 212 KB Output isn't correct
9 Incorrect 0 ms 212 KB Output isn't correct
10 Incorrect 1 ms 212 KB Output isn't correct
11 Incorrect 1 ms 212 KB Output isn't correct
12 Incorrect 2 ms 212 KB Output isn't correct
13 Incorrect 1 ms 212 KB Output isn't correct
14 Incorrect 1 ms 320 KB Output isn't correct
15 Incorrect 4 ms 212 KB Output isn't correct
16 Incorrect 4 ms 212 KB Output isn't correct
17 Incorrect 3 ms 212 KB Output isn't correct
18 Incorrect 2 ms 212 KB Output isn't correct
# 결과 실행 시간 메모리 Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Incorrect 20 ms 300 KB Output isn't correct
3 Incorrect 166 ms 304 KB Output isn't correct
4 Incorrect 36 ms 212 KB Output isn't correct
5 Incorrect 80 ms 296 KB Output isn't correct
6 Incorrect 183 ms 4796 KB Output isn't correct
7 Incorrect 1 ms 212 KB Output isn't correct
8 Incorrect 1 ms 212 KB Output isn't correct
9 Incorrect 1 ms 212 KB Output isn't correct
10 Incorrect 1 ms 244 KB Output isn't correct
11 Incorrect 1 ms 212 KB Output isn't correct
12 Incorrect 1 ms 212 KB Output isn't correct
13 Incorrect 19 ms 320 KB Output isn't correct
14 Incorrect 11 ms 316 KB Output isn't correct
15 Incorrect 11 ms 324 KB Output isn't correct
16 Incorrect 8 ms 212 KB Output isn't correct
17 Incorrect 49 ms 212 KB Output isn't correct
18 Incorrect 45 ms 212 KB Output isn't correct
19 Incorrect 39 ms 212 KB Output isn't correct
20 Incorrect 42 ms 312 KB Output isn't correct
21 Incorrect 120 ms 296 KB Output isn't correct
22 Incorrect 88 ms 212 KB Output isn't correct
23 Incorrect 94 ms 296 KB Output isn't correct
24 Incorrect 104 ms 300 KB Output isn't correct
25 Incorrect 190 ms 300 KB Output isn't correct
26 Correct 113 ms 4792 KB Output is correct
27 Incorrect 158 ms 4840 KB Output isn't correct
28 Incorrect 180 ms 5052 KB Output isn't correct
29 Incorrect 178 ms 6348 KB Output isn't correct
30 Incorrect 163 ms 6860 KB Output isn't correct
31 Incorrect 170 ms 300 KB Output isn't correct
32 Incorrect 151 ms 4960 KB Output isn't correct