Submission #339790

# Submission time Handle Problem Language Result Execution time Memory
339790 2020-12-26T08:21:33 Z ammar2000 Tetris (COCI17_tetris) C++17
16 / 80
1 ms 384 KB
#include <bits/stdc++.h>
using namespace std;
int n,m,ans;
string s[10];
int main()
{
    cin>>n>>m;
    for (int i=0;i<n;i++)
        cin>>s[i];
    for (int i=0;i<n;i++)
        for (int y=0;y<m;y++)
        if (s[i][y]!='.')
         ans++;
    cout <<ans/4<<"\n0\n0\n0\n0";
}
# Verdict Execution time Memory Grader output
1 Correct 1 ms 384 KB Output is correct
2 Correct 1 ms 364 KB Output is correct
3 Incorrect 1 ms 364 KB Output isn't correct
4 Incorrect 1 ms 364 KB Output isn't correct
5 Incorrect 1 ms 364 KB Output isn't correct
6 Incorrect 1 ms 364 KB Output isn't correct
7 Incorrect 1 ms 364 KB Output isn't correct
8 Incorrect 1 ms 364 KB Output isn't correct
9 Incorrect 1 ms 364 KB Output isn't correct
10 Incorrect 1 ms 364 KB Output isn't correct