THẢO LUẬN

Tuyệt vời bạn ơi. Cơ mà chỉnh xong thì xem css kiểu gì vậy bạn?

+1
Mar 4th, 2019 1:24 a.m.

Cảm ơn anh ạ, lúc viết bài tạm dịch để đấy, xong quên luôn. Em edit post cho phù hợp rồi ạ 😃)))

0
Mar 4th, 2019 12:39 a.m.

Tìm hiểu về nano làm gì vậy em, tìm hiểu về vim đi chứ 😆

+1

hôm bữa chị có sửa lỗi format rồi nhưng không hiểu sao bây giờ nó lạ bị thanks e

+1

@TrangHTT Chị ơi bài chị bị lỗi rùi. Chị edit bài giúp em với ạ 🤗

0

Bài viết của Hợi lúc nào cũng có tâm cực (love)

0
Mar 3rd, 2019 2:16 p.m.

Theo như mình tìm hiểu thì Skip-gram mới lấy Input-Hidden còn CBOW thì lấy Hidden-Output ấy bạn. Cảm ơn bạn đã góp ý.

0

Tớ thì đang dùng FreeCommander, tính năng thì cũng có Favourite, Tab, FileView, view all file in all sub-dir (flat mode), 2-pane browsing, define shortcut key, tớ đặc biệt mê món shortcut key của nó. Một thời gian dài rồi tớ lại đổi về dùng windows explorer mặc định, giờ chắc sẽ nghiên cứu Qdir thử xem 😃 Con QDir khá là hay ho, khi mình start Qdir bằng admin mode thì mở cmd nó cũng ra admin mode luôn.

+1
Mar 3rd, 2019 2:11 a.m.

😜

0
Mar 3rd, 2019 1:46 a.m.

😘😘😘

0

Nhưng mà sao mấy ông Nhật lại thích dùng Cake mà không phải là Lar hay Yii anh nhỉ?

0

Haha, công nhận anh ạ, cứ Ruby là lành, ông Cake lằng nhằng thật :v

0

anh thì vật lộn 1 hồi xong anh chửi thề loạn và muốn chuyển xừ sang Ruby

0

bạn dùng cách đánh này để highlight code nhé

#include "stack.hpp"
using namespace std;

// Auxiliary method, you probably find it useful
// Operands are all lower case and upper case characters
bool isOperand(char c){
  return (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z');
}

// Auxiliary method, you probably find it useful
int precedence(char c)
{
  if(c == '+' || c == '-'){
    return 0;
  }
  if(c == '*' || c == '/'){
    return 1;
  }
  if(c == '^'){
    return 2;
  }
  return -1;
}

int main(){
  freopen("input_infix2postfix.txt", "r", stdin);
  string input;
  string output; // output string
  string solution;
  string dummy;
  string here;
    int j = 0;
    int con;
  int line_counter = 0;
  while(cin >> solution){
    cin >> input;
    Stack<char> stack;
    string result;

 //The input file is in the format "expected_solution infix_expression", 
 //where expected_solution is the infix_expression in postfix format
int x = 0;
for(int i=0; i<input.length(); ++i){
  // WRITE CODE HERE to store in 'result' the postfix transformation of 'input'
if (isOperand(input[i]) )
{
    output[j++] = input[i];	
    //cout << "output: " << output[i] << endl;	
}


else if (input[i] == '(' ) 
{
    stack.push(input[i]);
}	

else if (input[i] == ')' )
{
    while (stack.peek() != '(' )
    {
        output[j++] = stack.peek();
        stack.pop();
    }
    stack.pop();	
    }
else if (input[i] == '*' || input[i] == '/' || input[i] == '+' || input[i] == '-' || input[i] == '^')
{				
    stack.push(input[i]);
    //cout << "input: " << stack.peek() << endl;
        if (precedence(stack.peek()) >= precedence(input[i]) )
        {

                output[j++] = stack.peek();
                stack.pop();		
        }
        else 
            { break; }

}			
}
// You need to do some extra stuff here to store in 'result' the postfix transformation of 'input'

result = output;

// Checking whether the result you got is correct
if(solution == result){
  cout << "line " << line_counter << ": OK [" << solution << " " << result << "]" << endl;
}else{
  cout << "line " << line_counter << ": ERROR [" << solution << " " << result << "]" << endl;
}
line_counter++;
result.clear();	
  }
}

Screen Shot 2019-03-03 at 12.12.43 AM.png

+1

Em cũng phải tự build 1 image riêng thì mới run được CakePHP ở Docker :3

0

có bác nào ở đây biết cách lập trình tìm kiếm xử lý ngay trên web ko, tôi có thuật toán bắt lô khá chính xác, nhưng để rút ngắn thời gian thì cần sử dụng lập trình tìm kiếm sẽ nhanh hơn

0
Viblo
Hãy đăng ký một tài khoản Viblo để nhận được nhiều bài viết thú vị hơn.
Đăng kí