עבור לתוכן
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.

איך מריצים תור ב jeliot בעיה ...

Featured Replies

פורסם

אוקי אני מנסה להריץ ב jeliot קוד

זה הקוד :

class func
{
public static void main(String[] args)
{
Queue<Integer> que = new Queue<Integer>();
que.insert(2000);
que.insert(17);
que.insert(615);
que.insert(9366);
que.insert(48);
System.out.println(secret2(que));
}
public static int max(int n1, int n2)
{
if (n1>n2) return n1;
return n2;
}

public static int secret1 (int n)
{
if (n/10==0) return n;
return max ( n%10 , secret1(n/10));
}
public static int secret2 ( Queue<Integer> q)
{
if ( q.isEmpty()) return 0;
int x=secret1( q.remove());
return x + 10 * secret2(q);
}

}

והוא מראה שגיאה כזאתי

Syntax Error
Line 7, Column 1:
Expression statement required

זה השורה :

Queue<Integer> que = new Queue<Integer>();

ושאני שם לו את המחלקות של queue ו node זה עדיין מראה שגיאות :\

ארכיון

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

דיונים חדשים

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.