עבור לתוכן
View in the app

A better way to browse. Learn more.

HWzone

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

שאלה במערכות ספרתיות ...

Featured Replies

פורסם

לא ממש קשור לתכנות , אבל אתם בטוח יודעים ...

קיבלתי תרגיל בו נדרש לממש מערכת, המקבלת כקלט מספר בינארי N בן 5 ספרות, ומוציאה במוצאה

1 אם N מתחלק ללא שארית ב-3;

0 אחרת.

יש לממש את המערכת אך ורק באמצעות מסכם אחד לשני מספרים בעלי 4 סיביות כל אחד, ובורר 8 ל 1 אחד ללא שערים.

השאלה שלי היא איך בודקים אם מספר בינארי מתחלק ב 3 ?

אני יודע שחליוק ב 2 מתבצע ע"י הזזת כל הסיסיות במספר ימינה , האם יש "טריק" כזה גם בחילוק ב 3 ?

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

דיונים חדשים

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.