Submission #811378

# Submission time Handle Problem Language Result Execution time Memory
811378 2023-08-07T04:13:44 Z devariaota Tracks in the Snow (BOI13_tracks) C++17
2.1875 / 100
246 ms 12188 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;
}
# Verdict Execution time Memory Grader output
1 Incorrect 5 ms 468 KB Output isn't correct
2 Incorrect 0 ms 316 KB Output isn't correct
3 Incorrect 1 ms 212 KB Output isn't correct
4 Incorrect 2 ms 436 KB Output isn't correct
5 Incorrect 2 ms 328 KB Output isn't correct
6 Incorrect 1 ms 316 KB Output isn't correct
7 Incorrect 1 ms 320 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 340 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 328 KB Output isn't correct
14 Incorrect 1 ms 340 KB Output isn't correct
15 Incorrect 6 ms 560 KB Output isn't correct
16 Incorrect 4 ms 468 KB Output isn't correct
17 Incorrect 3 ms 460 KB Output isn't correct
18 Incorrect 2 ms 464 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 368 KB Output isn't correct
2 Incorrect 20 ms 1844 KB Output isn't correct
3 Incorrect 191 ms 9632 KB Output isn't correct
4 Incorrect 43 ms 3964 KB Output isn't correct
5 Incorrect 107 ms 6860 KB Output isn't correct
6 Incorrect 246 ms 10012 KB Output isn't correct
7 Incorrect 1 ms 332 KB Output isn't correct
8 Incorrect 2 ms 376 KB Output isn't correct
9 Incorrect 1 ms 380 KB Output isn't correct
10 Incorrect 1 ms 340 KB Output isn't correct
11 Incorrect 2 ms 328 KB Output isn't correct
12 Incorrect 1 ms 340 KB Output isn't correct
13 Incorrect 23 ms 432 KB Output isn't correct
14 Incorrect 11 ms 212 KB Output isn't correct
15 Incorrect 11 ms 324 KB Output isn't correct
16 Incorrect 12 ms 324 KB Output isn't correct
17 Incorrect 48 ms 4248 KB Output isn't correct
18 Incorrect 59 ms 4124 KB Output isn't correct
19 Incorrect 42 ms 3868 KB Output isn't correct
20 Incorrect 38 ms 3608 KB Output isn't correct
21 Incorrect 103 ms 8104 KB Output isn't correct
22 Incorrect 81 ms 7760 KB Output isn't correct
23 Incorrect 130 ms 7164 KB Output isn't correct
24 Incorrect 106 ms 7840 KB Output isn't correct
25 Incorrect 182 ms 12188 KB Output isn't correct
26 Correct 167 ms 9184 KB Output is correct
27 Incorrect 164 ms 10552 KB Output isn't correct
28 Incorrect 202 ms 10352 KB Output isn't correct
29 Incorrect 181 ms 11980 KB Output isn't correct
30 Incorrect 166 ms 10508 KB Output isn't correct
31 Incorrect 189 ms 9508 KB Output isn't correct
32 Incorrect 160 ms 10760 KB Output isn't correct