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
# coding_assistant_final_corrected.py | |
import streamlit as st | |
import os | |
import json | |
from groq import Groq, RateLimitError, APIError | |
from datetime import datetime | |
import time # For progress bar sleep | |
# --- Configuration --- | |
DEFAULT_MODEL = "llama3-8b-8192" |
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
import java.util.*; | |
public class Main { | |
static class Student implements Comparable<Student> { | |
int roll_no; | |
String name; | |
Student(int roll_no, String name) { | |
this.roll_no = roll_no; |