Advertisement
Guest User

Untitled

a guest
Aug 9th, 2015
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.16 KB | None | 0 0
  1. int n = 0;
  2. for(...)
  3.   if(...)
  4.     ++n;
  5. if(n == 0) ...
  6.  
  7.  
  8. // lo puoi sostituire con
  9.  
  10.  
  11. bool flag = false;
  12. for(...)
  13.   if(...)
  14.     flag = true;
  15. if(!flag) ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement