Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <fstream>
- using namespace std;
- int main()
- {
- int a,b,nr=0;
- ifstream f("fibo0.in");
- while(f>>a>>b)
- nr+=(b%a==0);
- ofstream g("fibo0.out");
- g<<nr;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement