Coding
Headers:
H1
H2
H3
H4
H5
H6
Quotation:
Quotation
Tab View:
Link Generator:
Python:
# This software is subject to the GNU PLv3 License. # Failure to include this copyright notice would result in # prosecutions to the maximum extent defined by Chinese law. # Copyright The Guru 2 (thesenatorO5-2, ThesenatorO5-2) 2020 for i in range(1,1000): if i > 99: print("[[[scp-mc-" + str(i) + "|(ACCESS DENIED)]]]\n") elif i > 9: print("[[[scp-mc-0" + str(i) + "|(ACCESS DENIED)]]]\n") else: print("[[[scp-mc-00" + str(i) + "|(ACCESS DENIED)]]]\n") i = i+1
C++:
// Author: The Guru 2 // Clang version: 6.0 // This software, either in source or binary form, is subject to // GPLv3 License. #include <iostream> using namespace std; for(int i = 0; i < 1000; i = i + 1){ if(i > 99){ std::cout << "[[[scp-mc-" << i << "|(ACCESS DENIED)]]]" << "\n"; }else if(i > 9){ std::cout << "[[[scp-mc-0" << i << "|(ACCESS DENIED)]]]" << "\n"; }else{ std::cout << "[[[scp-mc-00" << i << "|(ACCESS DENIED)]]]" << "\n"; } }
Java:
// Author: The Guru 2 // JVM Version: JDK 14 // This software, either in source or binary form, is subject to // GPLv3 License. public class Linkgen{ public static void main(String[] args) { for (int i = 0; i < 1000 ; i = i + 1 ) { if (i < 9) { System.out.print("[[[scp-mc-00"); System.out.print(i); System.out.print("|(ACCESS DENIED)]]]\n"); }else if (i < 99) { System.out.print("[[[scp-mc-0"); System.out.print(i); System.out.print("|(ACCESS DENIED)]]]\n"); }else{ System.out.print("[[[scp-mc-"); System.out.print(i); System.out.print("|(ACCESS DENIED)]]]\n"); } } } }
page revision: 9, last edited: 26 Jun 2020 22:21