This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// To compile: | |
// nvcc -O3 -Xcompiler -openmp crc32_quine.cpp -o crc32_quine | |
// Inspired by: https://gist.github.com/praetoriansentry/03b6dc2e68e174ffd8168aef7d85f910 | |
// (Can be timed with: http://www.pc-tools.net/win32/ptime/) | |
// (Was not able to make it faster than the insiration, golang is impressive.) | |
#include <stdio.h> // printf, sprintf | |
#include "Crc32.cpp" // From: https://github.com/stbrumme/crc32 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Redundancy checker</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<!--<script src="lrs.min.js"></script>--> | |
<style> | |
html { | |
font-family: 'Verdana', sans-serif; |