Đọc dữ liệu từ stdin. In ra số dòng có chứa chuỗi error (phân biệt hoa thường).
Gợi ý: dùng grep -c error.
Ví dụ:
Input:
error: disk full
ok
another error here
Output:
2
Nhiều dòng văn bản trên stdin.
Mỗi dòng dài tối đa 200 ký tự.
Một số nguyên: số dòng chứa error.
Ví dụ:
Đầu vào:
error: disk full
ok
another error here
Đầu ra:
2
Giải thích:
Đang tải editor...