Вот такая вот ошибка Compile error: b"/tmp/submission9y8jx4on/ConsoleApplication12.cpp:1:1: fatal error: unknown type name '\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd'\n\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd#include<iostream>\n^\n1 error generated.\n" КОД: #include<iostream> using namespace std; int Factorial(int x) { int sum = 1; if (x < 2 && x>-11) { return 1; } else if (x > 1 && x < 11) { for (int i = 2; i <=x; i++) { sum = sum * i; } return sum; } } int main() { int a; cin >> a; cout << Factorial(a); }
Проблему уже сам решил, если кто нибудь столкнется с ней то просто поменяйте кодировку на UTF-8 БЕЗ СИГНАТУРЫ