Posts

I was banned from the US for giving false information. For how long am I banned? [duplicate]

Image
Clash Royale CLAN TAG #URR8PPP .everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0; up vote 9 down vote favorite This question already has an answer here: Is the ban on applying for a US visa after marriage fraud a lifetime ban or 10 years? 1 answer The US embassy in Mumbai banned me in 2015 for giving wrong information about my marriage. I want to know how many years I'm banned for. How can I know? visas usa visa-bans share | improve this question edited Aug 6 at 20:41 Robert Columbia 3,767 3 22 45 asked Aug 6 at 17:03 MAYANK 57 1 2 marked as duplicate by Robert Columbia, gmauch, Giorgio, Jim MacKenzie, MadHatter Aug 7 at 5:53 This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question. 4 You could ask them, perhaps. What exactly did they say to lead you to believe that you were ban...

Alphabet cypher in Rust

Image
Clash Royale CLAN TAG #URR8PPP .everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0; up vote 5 down vote favorite This is my attempt at an alphabet cypher in Rust. I'm unsure if iteration and pushing to a mutable is the best way to handle building the output; it seems like a good candidate for a map but I can't figure out how to do it. Can anyone help? use std::env; fn main() let keyword = env::args().nth(1).unwrap(); let body = env::args().nth(2).unwrap(); let transpose_table = get_transpose_table(keyword); let mut output = String::new(); for (input_idx, input_char) in body.char_indices() let transpose_distance = transpose_table[input_idx % transpose_table.len()]; let transposed_char_idx = char_to_alpha_idx(input_char) + transpose_distance; output.push(alpha_idx_to_char(transposed_char_idx % 26)); println!("", output); fn get_transpose_table(keyword: String) -> Vec<usize> return keyword.chars() ...