reversing

    0熱度

    3回答

    在串交換代碼 end = &str[len - 1]; 我不理解的尋址部分的以下部分。當我沒有尋址部分的時候它仍然運行,但是給我一個警告:「一個char類型的值不能被分配給char類型的標識」。下面是完整的代碼: #include<iostream> #include<cstring> using namespace std; int main() { ch

    5熱度

    1回答

    我被要求通過創建一個新程序來加密密碼,我在想什麼是使用位來改變我的輸入鍵的每個字符與顯然不相關的字符,所以我寫了這個函數: (I使用PHP代碼): function CBS($digits, $n_times) { $mask = 0x7FFFFFFF; $digits = intval($digits); if($n_times > 0) { $digi

    1熱度

    1回答

    所以基本上我試圖讀取字符串,增加一個計數器(在這種情況下,%edx),直到我讀取一個\ n,然後向後打印它反轉。 這是我的代碼: .section .data cadsal: .asciz "Por favor ingrese su cadena:\n" leer: .asciz "%s" salidafinal: .asciz "La cadena int

    0熱度

    1回答

    #include <stdio.h> #include <stdlib.h> int main() { char s[100],temp1[100]; int i; printf("Some word "); scanf("%s", s); for (i = 0; s[i] != '\0'; ++i); int a = i

    2熱度

    1回答

    A^((A >> 2) + (A << 5) + C) == B 如何查找A如果B是常量而C是變量? A爲DWORD(C可如果它沒有辦法來改變),B爲DWORD,C是字節= 0 EDIT1:GalacticJello的回答後,我收到了另一個問題:有沒有辦法做到沒有循環(簡化表達式)? 爲什麼我需要這樣的: 我試圖做一個反向功能(碰撞搜索)爲 unsigned int X(const char*

    1熱度

    2回答

    我有一個家庭作業,我必須建設性地破壞性地顛倒一個數組列表,併爲不同長度的列表計時。我的Arraylist每次運行時都更新,但似乎沒有在這些方法中註冊,因爲我沒有獲得我的計時值,也無法找到我的錯誤。 我的代碼到目前爲止如下。 public ArrayList ConstructiveReverseDeveloped() { ArrayList Temp = new Arr

    -4熱度

    1回答

    我會得到一個編號爲這段代碼的輸出: base = int(raw_input("Pick your base: ")) base = str(base) question = "Pick your number! (the base is "+base+"): " number = int(raw_input(question)) def func(number): if num

    0熱度

    1回答

    我經常在網上看到的,當話題被逆轉,就是這個語法 *(_WORD *)(a1 + 6) = *(_WORD *)(a2 + 2); 我覺得這個代碼是從IDA插件(右?),但我不明白..有人可以解釋我一點點,或指示某些地方研究這種代碼性質? Thanxs預先=)

    1熱度

    4回答

    我正在製作一個函數,它可以反轉字符串並檢查字符串是否是迴文。當我用「abba」等明顯的迴文測試函數時,函數表示它不是迴文。前向串和反向串的串長也不同! #include <stdio.h> #include <string.h> char forward [] = "abba"; //The string to be reversed int size = (sizeof(forward

    2熱度

    2回答

    這裏是我所使用的程序: library(plotly) mydata = read.csv("data_to_plot.txt") df = as.data.frame(mydata) p <- df %>% group_by(X) %>% plot_ly(x = ~Y, y = ~X, z = ~Z, type = "scatter3d", mode = "line