답안 #813340

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
813340 2023-08-07T16:10:09 Z christinelynn Tracks in the Snow (BOI13_tracks) C++17
2.1875 / 100
197 ms 15908 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 6 ms 468 KB Output isn't correct
2 Incorrect 1 ms 320 KB Output isn't correct
3 Incorrect 1 ms 212 KB Output isn't correct
4 Incorrect 3 ms 472 KB Output isn't correct
5 Incorrect 2 ms 340 KB Output isn't correct
6 Incorrect 0 ms 212 KB Output isn't correct
7 Incorrect 1 ms 232 KB Output isn't correct
8 Incorrect 1 ms 320 KB Output isn't correct
9 Incorrect 1 ms 212 KB Output isn't correct
10 Incorrect 1 ms 332 KB Output isn't correct
11 Incorrect 1 ms 340 KB Output isn't correct
12 Incorrect 2 ms 340 KB Output isn't correct
13 Incorrect 1 ms 340 KB Output isn't correct
14 Incorrect 1 ms 340 KB Output isn't correct
15 Incorrect 4 ms 456 KB Output isn't correct
16 Incorrect 4 ms 560 KB Output isn't correct
17 Incorrect 3 ms 468 KB Output isn't correct
18 Incorrect 2 ms 468 KB Output isn't correct
# 결과 실행 시간 메모리 Grader output
1 Incorrect 2 ms 340 KB Output isn't correct
2 Incorrect 20 ms 1740 KB Output isn't correct
3 Incorrect 193 ms 5020 KB Output isn't correct
4 Incorrect 41 ms 3688 KB Output isn't correct
5 Incorrect 85 ms 4968 KB Output isn't correct
6 Incorrect 180 ms 15896 KB Output isn't correct
7 Incorrect 1 ms 340 KB Output isn't correct
8 Incorrect 1 ms 340 KB Output isn't correct
9 Incorrect 1 ms 332 KB Output isn't correct
10 Incorrect 1 ms 340 KB Output isn't correct
11 Incorrect 1 ms 340 KB Output isn't correct
12 Incorrect 1 ms 340 KB Output isn't correct
13 Incorrect 19 ms 1732 KB Output isn't correct
14 Incorrect 14 ms 1200 KB Output isn't correct
15 Incorrect 12 ms 1236 KB Output isn't correct
16 Incorrect 9 ms 852 KB Output isn't correct
17 Incorrect 50 ms 3976 KB Output isn't correct
18 Incorrect 45 ms 3848 KB Output isn't correct
19 Incorrect 38 ms 3624 KB Output isn't correct
20 Incorrect 38 ms 3320 KB Output isn't correct
21 Incorrect 120 ms 4984 KB Output isn't correct
22 Incorrect 85 ms 5076 KB Output isn't correct
23 Incorrect 104 ms 5292 KB Output isn't correct
24 Incorrect 122 ms 5172 KB Output isn't correct
25 Incorrect 197 ms 5260 KB Output isn't correct
26 Correct 156 ms 12192 KB Output is correct
27 Incorrect 165 ms 15908 KB Output isn't correct
28 Incorrect 188 ms 15900 KB Output isn't correct
29 Incorrect 190 ms 15896 KB Output isn't correct
30 Incorrect 175 ms 15512 KB Output isn't correct
31 Incorrect 186 ms 5228 KB Output isn't correct
32 Incorrect 160 ms 15904 KB Output isn't correct