Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int daysConsidered, temperature;
- int countOttepel = 0;
- cin>>daysConsidered;
- for (int i=0; i<daysConsidered; i++) {
- cin>>temperature[i];
- if (temperature[i]>0) {
- countOttepel++;
- while (temperatureSeries[m]>0) {
- countOttepel++;
- m++;
- }
- else {
- break;
- }
- for (int lineDays=0; lineDays)
- cin>>temperature;
- }
- }
- cout << "Hello world!" << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment