I hereby claim:
- I am dariost on github.
- I am dariost (https://keybase.io/dariost) on keybase.
- I have a public key ASBC5hKS-6Tx2NSnUMVYQ_uFDSzci5f0TNIFgrf15CxUCwo
To claim this, I am signing this object:
#include <bits/stdc++.h> | |
using namespace std; | |
int main() { | |
size_t T; | |
cin >> T; | |
for(size_t caso = 1; caso <= T; caso++) { | |
size_t n1, n2, n3, n4, m; | |
cin >> n1 >> n2 >> n3 >> n4 >> m; |
#include <bits/stdc++.h> | |
using namespace std; | |
int main() { | |
size_t T; | |
cin >> T; | |
for(size_t caso = 1; caso <= T; caso++) { | |
int n, f, c; | |
cin >> n >> f >> c; |
#include <bits/stdc++.h> | |
using namespace std; | |
int64_t fastexp(int64_t b, int64_t e) { | |
if(e == 0) { | |
return 1; | |
} else if(e % 2 == 1) { | |
return b * fastexp(b, e - 1); | |
} else { |
diff --git a/src/xdemos/glinfo_common.h b/src/xdemos/glinfo_common.h | |
index 0024f854..4d07f667 100644 | |
--- a/src/xdemos/glinfo_common.h | |
+++ b/src/xdemos/glinfo_common.h | |
@@ -86,6 +86,7 @@ struct options | |
/** list of known OpenGL versions */ | |
static const struct { int major, minor; } gl_versions[] = { | |
+ {4, 6}, | |
{4, 5}, |
I hereby claim:
To claim this, I am signing this object:
#include <stdio.h> | |
#include <signal.h> | |
#include <setjmp.h> | |
jmp_buf jump_buffer; | |
int count = 0; | |
void handler(int p) | |
{ | |
(void)p; |
use std::default::Default; | |
use std::ops::{Add, Mul}; | |
fn scalar<T: Add<Output = T> + Default>(a: &[T], b: &[T]) -> T | |
where for<'a> T: Mul<&'a T, Output = T>, | |
for<'a, 'b> &'a T: Mul<&'b T, Output = T> | |
{ | |
assert_eq!(a.len(), b.len()); | |
a.iter() | |
.zip(b.iter()) |