Pagini recente » Cod sursa (job #1438108) | Cod sursa (job #2667283) | Cod sursa (job #1469329) | Cod sursa (job #2125443) | Cod sursa (job #197655)
Cod sursa(job #197655)
#include <cstdio>
int main()
{
//qwertyuiopasdfghjklzxcvbnqwertyuiopasdfghjklzxcvbnm
//qwertyuiopasdfghjklzxcvbnqwertyuiopasdfghjklzxcvbnm
//qwertyuiopasdfghjklzxcvbnqwertyuiopasdfghjklzxcvbnm
//qwertyuiopasdfghjklzxcvbnqwertyuiopasdfghjklzxcvbnm
//qwertyuiopasdfghjklzxcvbnqwertyuiopasdfghjklzxcvbnm
//qwertyuiopasdfghjklzxcvbnqwertyuiopasdfghjklzxcvbnm
//qwertyuiopasdfghjklzxcvbnqwertyuiopasdfghjklzxcvbnm
//qwertyuiopasdfghjklzxcvbnqwertyuiopasdfghjklzxcvbnm
//qwertyuiopasdfghjklzxcvbnqwertyuiopasdfghjklzxcvbnm
//qwertyuiopasdfghjklzxcvbnqwertyuiopasdfghjklzxcvbnm
//qwertyuiopasdfghjklzxcvbnqwertyuiopasdfghjklzxcvbnm
//qwertyuiopasdfghjklzxcvbnqwertyuiopasdfghjklzxcvbnm
//qwertyuiopasdfghjklzxcvbnqwertyuiopasdfghjklzxcvbnm
//qwertyuiopasdfghjklzxcvbnqwertyuiopasdfghjklzxcvbnm
//qwertyuiopasdfghjklzxcvbnqwertyuiopasdfghjklzxcvbnm
//qwertyuiopasdfghjklzxcvbnqwertyuiopasdfghjklzxcvbnm
//qwertyuiopasdfghjklzxcvbnqwertyuiopasdfghjklzxcvbnm
//qwertyuiopasdfghjklzxcvbnqwertyuiopasdfghjklzxcvbnm
//qwertyuiopasdfghjklzxcvbnqwertyuiopasdfghjklzxcvbnm
//qwertyuiopasdfghjklzxcvbnqwertyuiopasdfghjklzxcvbnm
FILE *f1, *f2;
int n, m;
f1 = fopen("grigo.in", "r");
f2 = fopen("grigo.out", "w");
fscanf(f1, "%d %d", &n, &m);
if (n == m) fprintf(f2, "1\n");
else fprintf(f2, "0\n");
fclose(f2);
fclose(f1);
return 0;
}