• 测试博文写作


    测试一下发博客文章。

    粗体斜体下划线绿色红色

    微软雅黑宋体隶书。

    安全模式启动Office程序Excel:excel.exe /safe

    代码段测试:

    #include <iostream>
    #include <algorithm> 
    using namespace std;
    
    int main()
    {
      int A[] = {1,2,3};
      const int N = sizeof(A) / sizeof(int);
    
      int iCount = 1;
      for(int i = N; i >= 1; --i)
          iCount *= i;
    
      for(int i = iCount; i >=1; --i)
      {
          prev_permutation(A, A+N);
          cout << "After " << iCount - i + 1 << "th prev_permutation: ";
          copy(A, A+N, ostream_iterator<int>(cout, " "));
          cout << endl;    
      }
    
      int B[] = {2,3,1};
      const int N1 = sizeof(B) / sizeof(int);
      next_permutation(B, B+N1);
      cout << "After prev_permutation: ";
      copy(B, B+N1, ostream_iterator<int>(cout, " "));
      cout << endl;
    
      prev_permutation(B, B+N1);
      cout << "After next_permutation: ";
      copy(B, B+N1, ostream_iterator<int>(cout, " "));
      cout << endl;
    
      prev_permutation(B, B+N1);
      cout << "After next_permutation: ";
      copy(B, B+N1, ostream_iterator<int>(cout, " "));
      cout << endl;
    }
  • 相关阅读:
    阿里笔试题—战报交流
    2 基于梯度的攻击——PGD
    1 基于梯度的攻击——FGSM
    0 对抗样本
    自然语言处理 复习笔记 3
    自然语言处理 复习笔记 2
    自然语言处理 复习笔记 1
    GRU
    1*1卷积核的作用
    BP原理
  • 原文地址:https://www.cnblogs.com/awpatp/p/1498595.html
Copyright © 2020-2023  润新知