Submission #938373

# Submission time Handle Problem Language Result Execution time Memory
938373 2024-03-05T05:19:29 Z ezzzay Tracks in the Snow (BOI13_tracks) C++14
2.1875 / 100
629 ms 31960 KB
#include<bits/stdc++.h>
using namespace std;
#define ff first
#define ss second
const int N=4e3+2;
char arr[N][N];
signed main(){
    int n,m;
    cin>>n>>m;
    set<char>st;
    for(int i=1;i<=n;i++){
        for(int j=1;j<=m;j++){
            cin>>arr[i][j];
            if(arr[i][j]!='.')st.insert(arr[i][j]);
        }
    }
    cout<<st.size();
}
# Verdict Execution time Memory Grader output
1 Incorrect 12 ms 2652 KB Output isn't correct
2 Incorrect 1 ms 344 KB Output isn't correct
3 Incorrect 1 ms 2652 KB Output isn't correct
4 Incorrect 7 ms 2652 KB Output isn't correct
5 Incorrect 4 ms 2652 KB Output isn't correct
6 Incorrect 0 ms 348 KB Output isn't correct
7 Incorrect 1 ms 2652 KB Output isn't correct
8 Incorrect 1 ms 2652 KB Output isn't correct
9 Incorrect 1 ms 2652 KB Output isn't correct
10 Incorrect 3 ms 2652 KB Output isn't correct
11 Incorrect 2 ms 2652 KB Output isn't correct
12 Incorrect 5 ms 2764 KB Output isn't correct
13 Incorrect 4 ms 2652 KB Output isn't correct
14 Incorrect 4 ms 2652 KB Output isn't correct
15 Incorrect 11 ms 2904 KB Output isn't correct
16 Incorrect 11 ms 3160 KB Output isn't correct
17 Incorrect 10 ms 3156 KB Output isn't correct
18 Incorrect 7 ms 2652 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 4 ms 15448 KB Output isn't correct
2 Incorrect 58 ms 8272 KB Output isn't correct
3 Incorrect 549 ms 31572 KB Output isn't correct
4 Incorrect 135 ms 12248 KB Output isn't correct
5 Incorrect 311 ms 21588 KB Output isn't correct
6 Incorrect 582 ms 31960 KB Output isn't correct
7 Incorrect 4 ms 15964 KB Output isn't correct
8 Incorrect 4 ms 15304 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 4 ms 15708 KB Output isn't correct
12 Incorrect 1 ms 2652 KB Output isn't correct
13 Incorrect 55 ms 8148 KB Output isn't correct
14 Incorrect 34 ms 5584 KB Output isn't correct
15 Incorrect 40 ms 5588 KB Output isn't correct
16 Incorrect 24 ms 3176 KB Output isn't correct
17 Incorrect 152 ms 12624 KB Output isn't correct
18 Incorrect 151 ms 12608 KB Output isn't correct
19 Incorrect 133 ms 12356 KB Output isn't correct
20 Incorrect 117 ms 12100 KB Output isn't correct
21 Incorrect 313 ms 21952 KB Output isn't correct
22 Incorrect 308 ms 21584 KB Output isn't correct
23 Incorrect 290 ms 18384 KB Output isn't correct
24 Incorrect 317 ms 21572 KB Output isn't correct
25 Incorrect 629 ms 31580 KB Output isn't correct
26 Correct 432 ms 26708 KB Output is correct
27 Incorrect 592 ms 31584 KB Output isn't correct
28 Incorrect 591 ms 31708 KB Output isn't correct
29 Incorrect 569 ms 31700 KB Output isn't correct
30 Incorrect 579 ms 30932 KB Output isn't correct
31 Incorrect 419 ms 24784 KB Output isn't correct
32 Incorrect 559 ms 31556 KB Output isn't correct