Recent programs

Ejemplo try-except

an anonymous user · November 27, 2024 · Python
def dividir():
    x=int(input("Introduce x: "))
    y=int(input("Introduce y: "))
    return x/y

try:
    dividir()
except ZeroDivisionError:
    print("Error, división por cero.")

1

an anonymous user · November 27, 2024 · C
//403101659
#include <stdio.h>

int main(void)
{
    unsigned int n, q, l, r;
    unsigned long long int p, m, hash, mod;
    scanf("%u %u %llu %llu", &n, &q, &p, &m);

    unsigned long long int hashes[26];

ex1 tp1

an anonymous user · November 27, 2024 · C
#include <stdio.h>
#include <stdbool.h>

#define Max 100

struct Tableau{
bool cases[Max];
int nbcaserempplie;
};

ex1 tp1

an anonymous user · November 27, 2024 · C
#include <stdio.h>
#include <stdbool.h>

#define Max 100

struct Tableau{
bool cases[Max];
int nbcaserempplie;
};

1

an anonymous user · November 27, 2024 · C
//403101659
#include <stdio.h>

int main(){
    int n, q, l, r;
    long long int p, m, hash,u;
    scanf("%d %d %lld %lld", &n, &q, &p, &m);

    long long int val[26];
    for (int i = 0; i < 26; i++)

오현우 미분 프로그램

an anonymous user · November 27, 2024 · Java
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        // 사용자로부터 수식 입력 받기
        System.out.println("미분 계산기");
        System.out.println("수식을 입력하세요 (예: x^2 + 3*x + 1): ");
        String expression = scanner.nextLine();

1

an anonymous user · November 27, 2024 · Clojure
;; Определяем функцию set-and-return, которая принимает два параметра: var и val
(defn set-and-return [var val]
  ;; Определяем глобальную переменную с именем, соответствующим символу `var`, 
  ;;и присваиваем ей значение `val`
  (def var val)
  ;; Возвращаем значение `val`
  val)

;; Определяем глобальную переменную `a` со значением `'a`
(def a 'a)

Student

an anonymous user · November 27, 2024 · Java
import java.util.ArrayList;
import java.util.Scanner;

class Student {
    String name;
    ArrayList<Float> grades;

    Student(String name) {
        this.name = name;
        this.grades = new ArrayList<>();

1

an anonymous user · November 27, 2024 · Clojure
(def x 'y)
(def y 'x)

(let [temp x]
  (def x y)
  (def y temp))

(println x)

GradeManagementSystem.java

an anonymous user · November 27, 2024 · Java
import java.util.ArrayList;
import java.util.Scanner;

class Student {
    String name;
    ArrayList<Float> grades;

    Student(String name) {
        this.name = name;
        this.grades = new ArrayList<>();

30

an anonymous user · November 27, 2024 · R
employee_data<-data.frame(EmployeeId=c(101,102,103,104),Name=c("john","sam","meen","james"),Salary=c(20000,30000,40000,50000))
summary(employee_data)

29

an anonymous user · November 27, 2024 · R
employee_data<-data.frame(EmployeeId=c(101,102,103,104),Name=c("john","sam","meen","james"),Salary=c(20000,30000,40000,50000))
print(employee_data)
new_employee<-data.frame(EmployeeId=105,Name="david",Salary=35000)
employee_data<-rbind(employee_data,new_employee)
cat("Employee data after adding new row:\n")
print(employee_data)
employee_data$Department<-c("HR","It","Finance","sales","Marketing")
cat("\nEmployee data after adding new column:\n")
print(employee_data)
min<-min(employee_data$Salary

query1

an anonymous user · November 27, 2024 · MySQL
create table Login(
  customer_id int not null,
  last_login datetime not null,
  last_logout datetime not null,
  update_pwd varchar(24) not null,
  old_pwd varchar(24) not null,
  is_now_logged_in varchar(24) not null check(is_now_logged_in in ('Y','N'))
);

insert into Login (customer_id,last_login,last_logout,update_pwd,old_pwd,is_now_logged_in)

fff

an anonymous user · November 27, 2024 · C
#include <stdio.h>

int main() {
    float aa = 0.00000003;            
    float b = 30.3;
    float c = 30000000000.3331;
    printf("%a\n", aa); 
    printf("%a\n", b); 
    printf("%a\n", c); 
    return 0;
--/info/--
SELECT 'Welcome to the mini Exoplanet database. It is not finished yet but feel free to try it.';
SELECT 'The mass, radius uses earth as the unit and the age uses billions of years.';
SELECT '________________________________________________________________________________________';

--/create/--
CREATE TABLE EXOPLANETS (
    id INTEGER NOT NULL,
    name TEXT NOT NULL,
    mass DECIMAL NOT NULL,

communication link

an anonymous user · November 27, 2024 · Octave
fs=1000;
dt=1/fs;
t=0:dt:1;
f0=50;
f1=100;
data=[01001];
fsk_sig=zeros(size(t));
for i=1:length(data)
    if data(i)==0
        fsk_sig((i-1)*200+1:i*200)=sin(2*pi*f0*t((i-1)*200+1:i*200));

test

an anonymous user · November 27, 2024 · Assembly
section .bss
    input resb 256       ; буфер для ввода строки (256 байт)

section .text
    global _start

_start:
    ; Запрос ввода строки
    mov rax, 1          ; syscall: write
    mov rdi, 1          ; файл: stdout

오현우 미분 프로그램

an anonymous user · November 27, 2024 · Java
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        // 사용자 입력 받기
        System.out.println("미분 계산기");
        System.out.println("수식을 입력하세요 (예: x^2 + 3*x + 1): ");
        String expression = scanner.nextLine();

spider.cc private

draco · updated November 27, 2024 · Lua
-- List of whitelisted usernames
local whitelist = {
    "DoYouWant_Lucki",
    "IIllIIlllllllIII1",
    "cursedjynx",
    "sdfjkhsdkjfhjksdh",
    "bath58I"
 
}

khanza

an anonymous user · November 27, 2024 · PHP
https://[Log in to view URL]
https://[Log in to view URL]
https://[Log in to view URL]
https://[Log in to view URL]
https://[Log in to view URL]
https://[Log in to view URL]
https://[Log in to view URL]
https://[Log in to view URL]
https://[Log in to view URL]
https://[Log in to view URL]