en
Feedback
برنامه نویسی هیلتن

برنامه نویسی هیلتن

Open in Telegram

آموزش و انجام پروژه برنامه نویسی، طراحی سایت و سئو تازه های #فناوری، #تکنولوژی و #انگیزشی تعرفه تبلیغات وانجام پروژه: فعلا تبلیغات نداریم اینستاگرام: -

Show more

📈 Analytical overview of Telegram channel برنامه نویسی هیلتن

Channel برنامه نویسی هیلتن (@heiltonprogramming) in the Farsi language segment is an active participant. Currently, the community unites 12 396 subscribers, ranking 16 161 in the Education category and 25 683 in the Iran region.

📊 Audience metrics and dynamics

Since its creation on невідомо, the project has demonstrated rapid growth, gathering an audience of 12 396 subscribers.

According to the latest data from 06 July, 2026, the channel demonstrates stable activity. Although there has been a change in the number of participants by -177 over the last 30 days and by -10 over the last 24 hours, overall reach remains high.

  • Verification status: Not verified
  • Engagement rate (ER): The average audience engagement rate is 2.11%. Within the first 24 hours after publication, content typically collects N/A% reactions from the total number of subscribers.
  • Post reach: On average, each post receives 0 views. Within the first day, a publication typically gains 0 views.
  • Reactions and interaction: The audience actively supports content: the average number of reactions per post is 0.

📝 Description and content policy

The author describes the resource as a platform for expressing subjective opinions:
آموزش و انجام پروژه برنامه نویسی، طراحی سایت و سئو تازه های #فناوری، #تکنولوژی و #انگیزشی تعرفه تبلیغات وانجام پروژه: فعلا تبلیغات نداریم اینستاگرام: -

Thanks to the high frequency of updates (latest data received on 07 July, 2026), the channel maintains relevance and a high level of publication reach. Analytics show that the audience actively interacts with content, making it an important point of influence in the Education category.

12 396
Subscribers
-1024 hours
-467 days
-17730 days
Posts Archive
بدون یک خط کدنویسی یک وبسایت را تولید کنید

landscape چلو گیری از landscape شدن اکتیویتی را های مختلفی وجود داره👇 روش اول <activity android:name=".SomeActivity" android:label="@string/app_name" android:screenOrientation="portrait" /> روش دوم برای جلو گیری از land scape این کد را به فایل AndroidManifest.xml اضافه کن یا راه بهتر کد زیر را setRequestedOrientation (ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); در تابع onCreate()

برای باز کردن فایل پی دی اف در اندروید این تابع را بنویسید (خیلی از دوستان مشکل داشتن انشاالله که حل بشه مشکل شون ) String dir="/Attendancesystem"; public void displaypdf() { File file = null; file = new File(Environment.getExternalStorageDirectory()+dir+ "/sample.pdf"); Toast.makeText(getApplicationContext(), file.toString() , Toast.LENGTH_LONG).show(); if(file.exists()) { Intent target = new Intent(Intent.ACTION_VIEW); target.setDataAndType(Uri.fromFile(file), "application/pdf"); target.setFlags(Intent.FLAG_ACTIVITY_NO_HISTORY); Intent intent = Intent.createChooser(target, "Open File"); try { startActivity(intent); } catch (ActivityNotFoundException e) { // Instruct the user to install a PDF reader here, or something } } else Toast.makeText(getApplicationContext(), "File path is incorrect." , Toast.LENGTH_LONG).show(); }

مسئله چند وزیر یک معمای شطرنجی و ریاضیاتی است که بر اساس آن باید n وزیر شطرنج در یک صفحه n×n شطرنج به‌گونه‌ای قرار داده شوند که هیچ‌یک زیر ضرب دیگری نباشند. با توجه به اینکه وزیر به‌صورت افقی، عمودی و اُریب حرکت می‌کند، باید هر وزیر را در طول، عرض و قطر متفاوتی قرار داد. اولین و مشهورترین شکل این مسئله معمای هشت وزیر است که برای حل آن باید ۸ وزیر را در یک صفحهً معمولی (۸×۸) شطرنج قرار داد. این مسئله ۹۲ جواب دارد که ۱۲ جواب آن منحصر به‌فرد است یعنی بقیه جواب‌ها از تقارن جواب‌های اصلی به‌دست می‌آید. مسئله n وزیر در صورتی جواب دارد که n مساوی ۱ یا بیشتر از ۳ باشد. یعنی مسئله دو وزیر و سه وزیر راه حلی ندارند.

همانطور که دیده میشود یک وزیر می تواند در تمام جهات حرکت کند بنا بر این نبایستی در راستای هم باشند
همانطور که دیده میشود یک وزیر می تواند در تمام جهات حرکت کند بنا بر این نبایستی در راستای هم باشند

کد بالا حل مسئله هشت وزیر به روش بازگشتی با c++ می باشد

# include # include # define MAXSIZE 8 class EightQueens { int m_size; int m_solution_count; int m_attempt_count; int m_queen[MAXSIZE]; bool m_row_inuse[MAXSIZE]; bool m_diag_rise[MAXSIZE*2]; bool m_diag_fall[MAXSIZE*2]; public: EightQueens(int size, bool is_alt) { assert(size <= MAXSIZE); m_size = size; m_solution_count = ۰; m_attempt_count = ۰; for (int i = 0; i < m_size; i++) { m_queen[i] = i; m_row_inuse[i] = ۰; } for (int j = 0; j < m_size*2; j++) { m_diag_rise[j] = ۰; m_diag_fall[j] = ۰; } if (is_alt) SearchAlt(0); else Search(0); } int GetSolutionCount() { return m_solution_count; } int GetAttemptCount() { return m_attempt_count; } private: void SearchAlt(int col){ if (col == m_size) { m_solution_count++; return; } for (int row = 0; row < m_size; row++) { m_attempt_count++; if (m_row_inuse[row] == 0 && IsDiagValid(col, row)) { m_queen[col] = row; m_row_inuse[row] = ۱; SetDiags(col, 1); SearchAlt(col+1); SetDiags(col, 0); m_row_inuse[row] = ۰; m_queen[col] = -۱; } } } void Search(int col) { if (col == m_size) { m_solution_count++; return; } for (int i = col; i < m_size; i++) { if (SwapQueenIfDiagValid(col, i)) { Search(col+1); UnSwapQueen(col, i); } } } void SwapQueenBasic(int i, int j) { int hold = m_queen[i]; m_queen[i] = m_queen[j]; m_queen[j] = hold; } void SetDiags(int col, int val) { assert(m_diag_rise[m_queen[col] + col]!= val); m_diag_rise[m_queen[col] + col] = val; assert(m_diag_fall[m_queen[col] - col + m_size]!= val); m_diag_fall[m_queen[col] - col + m_size] = val; } bool IsDiagValid(int col, int row) { return (m_diag_rise[row + col] == ۰ && m_diag_fall[row - col + m_size] == ۰); } bool SwapQueenIfDiagValid(int i, int j) { m_attempt_count++; if (IsDiagValid(i, m_queen[j])) { SwapQueenBasic(i, j); SetDiags(i, 1); return true; } return false; } void UnSwapQueen(int i, int j) { SetDiags(i, 0); SwapQueenBasic(i, j); } }; void do_work(bool is_alt) { int size = ۸; EightQueens puzzle(size, is_alt); int soln = puzzle.GetSolutionCount(); int attempt = puzzle.GetAttemptCount(); assert(size!= ۸ || soln == ۹۲); const char* style = is_alt ? "cartesian": "permutation"; printf("EightQueens[%d] has %d solutions found in %5d attempts using %s search. \n", size, soln, attempt, style); } int main() { printf("We should have 92 solutions for 8x8. \n"); do_work(0); do_work(1); }

http://www.aparat.com/v/rXSw3 آموزش اندروید

19-Scroll_Bar.wmv11.11 MB