Submission #757446

# Submission time Handle Problem Language Result Execution time Memory
757446 2023-06-13T07:49:48 Z The_Samurai Tracks in the Snow (BOI13_tracks) C++17
0 / 100
330 ms 16124 KB
#include "bits/stdc++.h"

using namespace std;

int INF = 1e9;

int main() {
    ios_base::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr);
    clock_t startTime = clock();
    int n, m;
    cin >> n >> m;
    vector<vector<char>> a(n, vector<char>(m));
    set<char> st;
    for (int i = 0; i < n; i++) {
        for (int j = 0; j < m; j++) {
            cin >> a[i][j];
            if (a[i][j] != '.') {
                st.insert(a[i][j]);
            }
        }
    }
    cout << 3;


#ifdef sunnitov
    cerr << "\nTime: " << (int)((double)(clock() - startTime) / CLOCKS_PER_SEC * 1000);
#endif
}

/*
 FFFFF
 RRRRF
 F..RF
 F.RRF
 FFRRF
*/

Compilation message

tracks.cpp: In function 'int main()':
tracks.cpp:9:13: warning: unused variable 'startTime' [-Wunused-variable]
    9 |     clock_t startTime = clock();
      |             ^~~~~~~~~
# Verdict Execution time Memory Grader output
1 Incorrect 7 ms 468 KB Output isn't correct
2 Incorrect 0 ms 212 KB Output isn't correct
3 Incorrect 1 ms 212 KB Output isn't correct
4 Incorrect 4 ms 468 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 212 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 2 ms 340 KB Output isn't correct
12 Incorrect 3 ms 340 KB Output isn't correct
13 Incorrect 2 ms 340 KB Output isn't correct
14 Incorrect 2 ms 340 KB Output isn't correct
15 Incorrect 6 ms 468 KB Output isn't correct
16 Incorrect 8 ms 468 KB Output isn't correct
17 Incorrect 6 ms 468 KB Output isn't correct
18 Incorrect 4 ms 468 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 2 ms 468 KB Output isn't correct
2 Incorrect 28 ms 1876 KB Output isn't correct
3 Incorrect 256 ms 16124 KB Output isn't correct
4 Incorrect 67 ms 4052 KB Output isn't correct
5 Incorrect 124 ms 9200 KB Output isn't correct
6 Incorrect 251 ms 16120 KB Output isn't correct
7 Incorrect 1 ms 468 KB Output isn't correct
8 Incorrect 2 ms 468 KB Output isn't correct
9 Incorrect 2 ms 340 KB Output isn't correct
10 Incorrect 1 ms 340 KB Output isn't correct
11 Incorrect 2 ms 468 KB Output isn't correct
12 Incorrect 1 ms 340 KB Output isn't correct
13 Incorrect 27 ms 1876 KB Output isn't correct
14 Incorrect 16 ms 1236 KB Output isn't correct
15 Incorrect 22 ms 1236 KB Output isn't correct
16 Incorrect 12 ms 852 KB Output isn't correct
17 Incorrect 74 ms 4352 KB Output isn't correct
18 Incorrect 79 ms 4308 KB Output isn't correct
19 Incorrect 61 ms 4052 KB Output isn't correct
20 Incorrect 51 ms 3668 KB Output isn't correct
21 Incorrect 140 ms 9556 KB Output isn't correct
22 Incorrect 145 ms 9204 KB Output isn't correct
23 Incorrect 151 ms 7996 KB Output isn't correct
24 Incorrect 154 ms 9300 KB Output isn't correct
25 Incorrect 330 ms 16116 KB Output isn't correct
26 Incorrect 163 ms 12444 KB Output isn't correct
27 Incorrect 322 ms 16112 KB Output isn't correct
28 Incorrect 262 ms 16112 KB Output isn't correct
29 Incorrect 263 ms 16120 KB Output isn't correct
30 Incorrect 258 ms 15792 KB Output isn't correct
31 Incorrect 218 ms 10460 KB Output isn't correct
32 Incorrect 249 ms 16116 KB Output isn't correct