Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
PlabonKumarsaha authored May 27, 2019
1 parent 7052725 commit b70f3dc
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions katties2.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#include <iostream>

using namespace std;

int main()
{

int n, t, s=0;
cin >> n;
for(int i=0; i<n; ++i) {
cin >> t;
if(t < 0) s++;
}
cout << s << endl;

return 0;
}

0 comments on commit b70f3dc

Please sign in to comment.