CodePTIT Copier

Script CodePTIT Copier. Xóa dòng trống thừa và copy nhanh Testcase trên CodePTIT (bản cũ lẫn mới).

As of 2025-08-17. See the latest version.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
nvbangg
Ratings
0 0 0
Version
1.2
Created
2025-05-15
Updated
2025-08-17
Size
15.9 KB
License
MIT
Applies to

CodePTIT Copier

Script CodePTIT Copier. Xóa dòng trống thừa khi copy Testcase. Tạo nút Copy nhanh Testcase và Mã bài_Tên bài đã Xóa dấu tiếng việt cùng khoảng trắng trên CodePTIT (cả phiên bản cũ và mới)

TÍNH NĂNG:

  • Xóa dòng trống thừa khi copy nội dung trong Testcase (khi copy thuần lẫn nhấn nút copy nhanh)
  • Tạo nút Copy nhanh Testcase trên CodePTIT (cả phiên bản cũ và mới)
  • Tạo nút Copy nhanh Mã bài_Tên bài đã Xóa dấu tiếng việt cùng khoảng trắng kèm đuôi tùy chỉnh.
    • Ví dụ với mã bài DSA06027, tên bài là SẮP XẾP ĐỔI CHỖ TRỰC TIẾP - LIỆT KÊ NGƯỢC
    • Nội dung sẽ copy được là: DSA06027_SapXepDoiChoTrucTiep-LietKeNguoc.cpp
    • Giúp thuận tiện đặt tên và lưu file nhanh chóng

CÁCH CÀI ĐẶT:

Nhớ Follow👀 và Tặng sao⭐ trên Github nha❤️

Follow👀: Follow | Star⭐: Star

Gif

Visitors

DEMO

image

  • Ở ví dụ trên, nếu copy bình thường sẽ bị lỗi dòng trống thừa, gây lỗi khi chạy testcase
Buoc 5: 1 3 4 5 8 9

Buoc 4: 1 3 4 5 9 8

Buoc 3: 1 3 4 9 8 5

Buoc 2: 1 3 8 9 5 4

Buoc 1: 1 8 5 9 3 4
  • Còn nếu dùng script thì nội dung khi copy sẽ được là:
Buoc 5: 1 3 4 5 8 9
Buoc 4: 1 3 4 5 9 8
Buoc 3: 1 3 4 9 8 5
Buoc 2: 1 3 8 9 5 4
Buoc 1: 1 8 5 9 3 4

SETTINGS

  • Mở settings bằng cách: Nhấn vào Tampermonkey (hoặc click chuột phải) khi ở trang https://code.ptit.edu.vn, sau đó nhấn vào mục Settings trong mục CodePTIT Copier

image