I tried 10 times . this site never works .why they provide such sites . codeforces is there :(
I tried 10 times . this site never works .why they provide such sites . codeforces is there :(
howyou are uploading solution to this site .my answer is same to your answer but it is saying files are mussing . and why they are providing such a old site . they should have given codeforces questions.
i added these lines but after compiling it is full of error from starting
even #include <cstdio> is error :(
showing error for this again and again .. i tried submitting my cpp file :(
#include <iostream>
#include <cstdio>
using namespace std;
FILE* inputFile;
FILE* outputFile;
int main() {
inputFile = fopen("sitin.txt", "r", stdin);
outputFile = fopen("sitout.txt", "w", stdout);
/* ... your code here ... */
/* ... cin, cout will work normally. example ... */