CSES - Aalto Competitive Programming 2024 - wk1 - Wed - Results
Submission details
Task:LumberUolevi
Sender:aalto2024a_012
Submission time:2024-09-04 16:25:30 +0300
Language:C++11
Status:COMPILE ERROR

Compiler report

input/code.cpp: In function 'int main()':
input/code.cpp:8:10: error: 'count' is not a member of 'std'; did you mean 'cout'?
    8 |     std::count << "0"
      |          ^~~~~
      |          cout

Code

#include <iostream>

int main() {
    
    int forest_size, number_of_trees;
    std::cin >> forest_size >> number_of_trees;
    
    std::count << "0"

    return 0;
}