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
"use client"; | |
import React, { useState } from "react"; | |
import axios from "axios"; | |
import { Button } from "./shared/Button"; | |
const ClientDocumentTranslator: React.FC = () => { | |
const [sourceFile, setSourceFile] = useState<File | null>(null); | |
const [translatedFile, setTranslatedFile] = useState<Blob | null>(null); | |
const [isLoading, setIsLoading] = useState(false); |
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
# foobar:~/i_love_lance_janice guest$ cat constraints.txt | |
# Java | |
# ==== | |
# Your code will be compiled using standard Java 7. It must implement the answer() method in the solution stub. | |
# Execution time is limited. Some classes are restricted (e.g. java.lang.ClassLoader). You will see a notice if you use a restricted class when you verify your solution. | |
# Third-party libraries, input/output operations, spawning threads or processes and changes to the execution environment are not allowed. |