私は取得していますエラーの無い試合を得るのですか 10:13: error: no match for 'operator^' (operand types are 'std::basic_ostream<char>' and 'int')
10:13: note: candidates are:
In file included from /usr/include/c++/4.9/ios:4
効率的な方法: #here a,b,c,d are integers
L = [a,b,c,d]
N = [b,c,d,a] #right rotation of list L
Newlist = enter code here[a^b, b^c, c ^d ,d^a]
リストのサイズが非常に大きいと、解決するための任意の効率的な方法があります。 これまでのところこれまでのことです。
.data
fnf: .ascii "The file was not found: "
###important: UPDATE THIS PATH TO WHERE YOU SAVED THE TEXT FILE
#asciiz directive creates null-terminated string
file: .asciiz "C:/Users/mmono/OneDrive
私は現在、正と負のバイナリ入力が可能なバイナリ電卓を作成中です。どちらかの番号が負の両方ではなく、最終的な文字列は負の符号を持つことになります場合は、だから、明らかに if (firstvalue[0] == "-" and not secondvalue[0] == "-") or (secondvalue[0] == "-" and not firstvalue[0] == "-"):
JAVAで有限フィールドを実装しようとしていますが、2つの2進数をXORする必要があります。ここ は私のコードです: String lastdigits="1000110";
int overflow=11;
int lastdigitsint=Integer.parseInt(lastdigits);
int result=(int) lastdig