Advertisement
Guest User

Untitled

a guest
Oct 19th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. /*int main() {
  4. int ilosc, x;
  5. scanf ("%d", &ilosc);
  6. for(x = 0; x < ilosc; x++){
  7. printf ("-");}
  8.  
  9.  
  10.  
  11. }
  12.  
  13. int main() {
  14. int n, s = 0, x = 0, l = 0;
  15. scanf ("%d", &n);
  16. for (x ;x < n; x++){
  17. scanf ("%d", &l);
  18. if (!(l % 3)) {
  19. s+=1;
  20. }
  21. }
  22. printf ("%d", s);
  23.  
  24. }
  25. */
  26.  
  27. /*int main(){
  28. int a, b;
  29. for (b = 0; b < 10;){
  30. scanf ("%d", &a);
  31. if (a < 0){
  32. b++;
  33. }
  34. }
  35. }
  36. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement