답안 #914073

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
914073 2024-01-21T02:21:22 Z lukas142434 Tracks in the Snow (BOI13_tracks) C++17
2.1875 / 100
552 ms 16208 KB
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;

int main()
{
    int n, m;
    cin >> n >> m;
    char c;
    bool b1 = false, b2 = false;
    for (int i = 0; i < n*m; i++) {
        cin >> c;
        if (c == 'R') b1 = true;
        else if (c == 'F') b2 = true;
    }
    if (!b1 && !b2) cout << 0;
    else if (b1 && b2) cout << 2;
    else cout << 1;
    
    return 0;
}
# 결과 실행 시간 메모리 Grader output
1 Incorrect 10 ms 600 KB Output isn't correct
2 Incorrect 1 ms 348 KB Output isn't correct
3 Incorrect 1 ms 348 KB Output isn't correct
4 Incorrect 6 ms 348 KB Output isn't correct
5 Incorrect 3 ms 348 KB Output isn't correct
6 Incorrect 0 ms 344 KB Output isn't correct
7 Incorrect 1 ms 348 KB Output isn't correct
8 Incorrect 1 ms 344 KB Output isn't correct
9 Incorrect 1 ms 348 KB Output isn't correct
10 Incorrect 3 ms 348 KB Output isn't correct
11 Incorrect 2 ms 348 KB Output isn't correct
12 Incorrect 4 ms 348 KB Output isn't correct
13 Incorrect 3 ms 344 KB Output isn't correct
14 Incorrect 3 ms 348 KB Output isn't correct
15 Incorrect 10 ms 604 KB Output isn't correct
16 Incorrect 10 ms 856 KB Output isn't correct
17 Incorrect 10 ms 604 KB Output isn't correct
18 Incorrect 6 ms 360 KB Output isn't correct
# 결과 실행 시간 메모리 Grader output
1 Incorrect 2 ms 348 KB Output isn't correct
2 Incorrect 56 ms 1944 KB Output isn't correct
3 Incorrect 540 ms 16080 KB Output isn't correct
4 Incorrect 127 ms 3920 KB Output isn't correct
5 Incorrect 282 ms 9048 KB Output isn't correct
6 Incorrect 534 ms 15956 KB Output isn't correct
7 Incorrect 3 ms 348 KB Output isn't correct
8 Incorrect 2 ms 348 KB Output isn't correct
9 Incorrect 3 ms 348 KB Output isn't correct
10 Incorrect 2 ms 348 KB Output isn't correct
11 Incorrect 2 ms 348 KB Output isn't correct
12 Incorrect 1 ms 348 KB Output isn't correct
13 Incorrect 54 ms 1684 KB Output isn't correct
14 Incorrect 32 ms 1116 KB Output isn't correct
15 Incorrect 34 ms 1372 KB Output isn't correct
16 Incorrect 23 ms 1056 KB Output isn't correct
17 Incorrect 140 ms 4180 KB Output isn't correct
18 Incorrect 139 ms 4236 KB Output isn't correct
19 Incorrect 122 ms 3848 KB Output isn't correct
20 Incorrect 115 ms 3668 KB Output isn't correct
21 Incorrect 314 ms 9556 KB Output isn't correct
22 Incorrect 293 ms 8980 KB Output isn't correct
23 Incorrect 269 ms 7832 KB Output isn't correct
24 Incorrect 314 ms 9500 KB Output isn't correct
25 Incorrect 541 ms 15956 KB Output isn't correct
26 Correct 380 ms 12372 KB Output is correct
27 Incorrect 510 ms 16208 KB Output isn't correct
28 Incorrect 535 ms 15876 KB Output isn't correct
29 Incorrect 552 ms 16004 KB Output isn't correct
30 Incorrect 532 ms 15568 KB Output isn't correct
31 Incorrect 401 ms 10260 KB Output isn't correct
32 Incorrect 517 ms 15880 KB Output isn't correct