This file contains 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
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"io/ioutil" | |
"os" | |
) | |
func main() { |
This file contains 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
{ | |
"data": { | |
"id": 36, | |
"category_id": 3, | |
"type": "article", | |
"system_prompt": "driver", | |
"topic": "passat r-line", | |
"subtopics": null, | |
"writing_style": "narative", | |
"writing_tone": "formal", |
This file contains 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
package com.company; | |
import java.io.File; | |
import java.io.FileWriter; | |
import java.io.IOException; | |
import java.util.Scanner; | |
class Solution { | |
private String phrase; | |
private char[] phraseArr; |
This file contains 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
package com.company; | |
import java.util.*; | |
class Animal { | |
public string gender = "male"; | |
private string type = "dog"; | |
private string name = "Rex"; | |
private int age = 1; | |
public int getAge() { |
This file contains 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
package com.company; | |
import java.io.File; | |
import java.io.FileWriter; | |
import java.io.IOException; | |
import java.util.Scanner; | |
public class Main { | |
public static int fact(int n) { | |
int p = 1; |
This file contains 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
public static int sum(int a, int b) { | |
return a + b; | |
} |
This file contains 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
#include <string> | |
#include <map> | |
#include <vector> | |
#include <fstream> | |
using namespace std; | |
ifstream cin("/Users/andreisamoila/Desktop/test.in"); | |
ofstream cout("/Users/andreisamoila/Desktop/test.out"); | |
int T, Q, N; |
This file contains 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
#include <iostream> | |
using namespace std; | |
int x; | |
int n, v[1005]; | |
int main() { | |
cin >> n; | |
for (int i = 1; i <= n; ++i) { | |
cin >> v[i]; |
This file contains 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.io.File; | |
import java.io.FileWriter; | |
import java.io.IOException; | |
import java.util.*; | |
public class cifreord1 { | |
public static void main(String[] args) { | |
try { | |
File file_in = new File ( "cifreord1.in"); | |
Scanner cin = new Scanner ( file_in ); | |
FileWriter file_out = new FileWriter ( "cifreord1.out"); |
This file contains 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
#include <iostream> | |
using namespace std; | |
int st, dr, n, len, len_max; | |
int v[1000005], ap[1000005]; | |
int main() { | |
cin >> n; | |
for (int i = 1; i <= n; i++) { | |
cin >> v[i]; |
NewerOlder