Submission #1043150

# Submission time Handle Problem Language Result Execution time Memory
1043150 2024-08-04T03:04:45 Z ezGeometry Tracks in the Snow (BOI13_tracks) C++14
2.1875 / 100
424 ms 16024 KB
#include <iostream>
#include <vector>
#include <algorithm>

using namespace std;

int main() {
	int n, m;
	cin >> n >> m;

	bool f = false, r = false;

	for (int i = 0; i < n; i++) {
		for (int j = 0; j < m; j++) {
			char c;
			cin >> c;
			if (c == 'F') {
				f = true;
			}
			if (c == 'R') {
				r = true;
			}
		}
	}

	cout << (int)f + r << endl;

	return 0;
}
# Verdict Execution time Memory Grader output
1 Incorrect 8 ms 604 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 4 ms 348 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 0 ms 348 KB Output isn't correct
10 Incorrect 2 ms 348 KB Output isn't correct
11 Incorrect 1 ms 348 KB Output isn't correct
12 Incorrect 3 ms 348 KB Output isn't correct
13 Incorrect 2 ms 348 KB Output isn't correct
14 Incorrect 3 ms 348 KB Output isn't correct
15 Incorrect 7 ms 604 KB Output isn't correct
16 Incorrect 9 ms 800 KB Output isn't correct
17 Incorrect 8 ms 444 KB Output isn't correct
18 Incorrect 4 ms 584 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 2 ms 348 KB Output isn't correct
2 Incorrect 47 ms 1944 KB Output isn't correct
3 Incorrect 397 ms 15892 KB Output isn't correct
4 Incorrect 96 ms 4012 KB Output isn't correct
5 Incorrect 205 ms 9100 KB Output isn't correct
6 Incorrect 382 ms 15952 KB Output isn't correct
7 Incorrect 2 ms 604 KB Output isn't correct
8 Incorrect 1 ms 348 KB Output isn't correct
9 Incorrect 2 ms 348 KB Output isn't correct
10 Incorrect 1 ms 348 KB Output isn't correct
11 Incorrect 1 ms 448 KB Output isn't correct
12 Incorrect 1 ms 348 KB Output isn't correct
13 Incorrect 38 ms 1692 KB Output isn't correct
14 Incorrect 23 ms 1304 KB Output isn't correct
15 Incorrect 29 ms 1384 KB Output isn't correct
16 Incorrect 22 ms 860 KB Output isn't correct
17 Incorrect 109 ms 4180 KB Output isn't correct
18 Incorrect 105 ms 4176 KB Output isn't correct
19 Incorrect 87 ms 3920 KB Output isn't correct
20 Incorrect 84 ms 3720 KB Output isn't correct
21 Incorrect 227 ms 9500 KB Output isn't correct
22 Incorrect 216 ms 9092 KB Output isn't correct
23 Incorrect 204 ms 7764 KB Output isn't correct
24 Incorrect 220 ms 9296 KB Output isn't correct
25 Incorrect 409 ms 15876 KB Output isn't correct
26 Correct 281 ms 12368 KB Output is correct
27 Incorrect 378 ms 15880 KB Output isn't correct
28 Incorrect 408 ms 16024 KB Output isn't correct
29 Incorrect 424 ms 16012 KB Output isn't correct
30 Incorrect 389 ms 15624 KB Output isn't correct
31 Incorrect 283 ms 10408 KB Output isn't correct
32 Incorrect 361 ms 15956 KB Output isn't correct