fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int cost=900+60+600+170+160+110, n;
  6. cin>>n;
  7.  
  8. cout<<n/cost;
  9.  
  10. return 0;
  11. }
Success #stdin #stdout 0.01s 5320KB
stdin
2026
stdout
1