답안 #856950

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
856950 2023-10-05T00:36:31 Z teesla Tracks in the Snow (BOI13_tracks) C++14
2.1875 / 100
242 ms 16208 KB
#include <bits/stdc++.h>
using namespace std;

int main(){

    int h,w; cin >> h >> w;

    int a = 0, b = 0;

    for(int i=0; i<h; i++){

        string s; cin >> s;

        for(auto j: s){


            if(j == '.') continue;
            else if(j == 'R') a = 1;
            else b = 1;
        }

    }

    cout << a + b << endl;
    return 0;
}
# 결과 실행 시간 메모리 Grader output
1 Incorrect 4 ms 600 KB Output isn't correct
2 Incorrect 0 ms 348 KB Output isn't correct
3 Incorrect 0 ms 348 KB Output isn't correct
4 Incorrect 3 ms 580 KB Output isn't correct
5 Incorrect 2 ms 348 KB Output isn't correct
6 Incorrect 0 ms 348 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 1 ms 348 KB Output isn't correct
10 Incorrect 1 ms 344 KB Output isn't correct
11 Incorrect 1 ms 476 KB Output isn't correct
12 Incorrect 2 ms 348 KB Output isn't correct
13 Incorrect 2 ms 344 KB Output isn't correct
14 Incorrect 2 ms 512 KB Output isn't correct
15 Incorrect 4 ms 604 KB Output isn't correct
16 Incorrect 4 ms 544 KB Output isn't correct
17 Incorrect 4 ms 604 KB Output isn't correct
18 Incorrect 3 ms 540 KB Output isn't correct
# 결과 실행 시간 메모리 Grader output
1 Incorrect 2 ms 344 KB Output isn't correct
2 Incorrect 22 ms 1884 KB Output isn't correct
3 Incorrect 213 ms 15936 KB Output isn't correct
4 Incorrect 60 ms 3984 KB Output isn't correct
5 Incorrect 125 ms 8972 KB Output isn't correct
6 Incorrect 214 ms 15956 KB Output isn't correct
7 Incorrect 1 ms 344 KB Output isn't correct
8 Incorrect 1 ms 448 KB Output isn't correct
9 Incorrect 1 ms 348 KB Output isn't correct
10 Incorrect 1 ms 348 KB Output isn't correct
11 Incorrect 2 ms 604 KB Output isn't correct
12 Incorrect 1 ms 348 KB Output isn't correct
13 Incorrect 22 ms 1876 KB Output isn't correct
14 Incorrect 13 ms 1116 KB Output isn't correct
15 Incorrect 16 ms 1372 KB Output isn't correct
16 Incorrect 9 ms 852 KB Output isn't correct
17 Incorrect 55 ms 4176 KB Output isn't correct
18 Incorrect 61 ms 4108 KB Output isn't correct
19 Incorrect 54 ms 3980 KB Output isn't correct
20 Incorrect 71 ms 3996 KB Output isn't correct
21 Incorrect 129 ms 9300 KB Output isn't correct
22 Incorrect 121 ms 9044 KB Output isn't correct
23 Incorrect 105 ms 7952 KB Output isn't correct
24 Incorrect 122 ms 9236 KB Output isn't correct
25 Incorrect 240 ms 15900 KB Output isn't correct
26 Correct 166 ms 12372 KB Output is correct
27 Incorrect 221 ms 15900 KB Output isn't correct
28 Incorrect 235 ms 15952 KB Output isn't correct
29 Incorrect 215 ms 16208 KB Output isn't correct
30 Incorrect 211 ms 15724 KB Output isn't correct
31 Incorrect 143 ms 10388 KB Output isn't correct
32 Incorrect 242 ms 15960 KB Output isn't correct