Submission #744845

# Submission time Handle Problem Language Result Execution time Memory
744845 2023-05-19T06:55:16 Z sword060 Kaučuk (COCI21_kaucuk) C++17
0 / 50
1 ms 212 KB
#include <bits/stdc++.h>
using namespace std;
int q,a,b,c;
int main(){
  ios::sync_with_stdio(0);cin.tie(0);
  cin>>q;
  while(q--){
    string s;cin>>s;
    if(s.size()==7){
      a++;b=0;c=0;
    }else if(s.size()==10){
      b++;c=0;
    }else c++;
    cout<<a;
    if(b)cout<<"."<<b;
    if(c)cout<<"."<<c;
    cout<<"\n";
  }
  return 0;
}
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -