Submission #339790

#TimeUsernameProblemLanguageResultExecution timeMemory
339790ammar2000Tetris (COCI17_tetris)C++17
16 / 80
1 ms384 KiB
#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 timeMemoryGrader output
Fetching results...