Borderou de evaluare (job #1785291)

Utilizator alex.grigorasAlex Grigoras alex.grigoras Data 21 octombrie 2016 00:16:26
Problema Cabana Status done
Runda Arhiva ICPC Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c:7:1: error: unknown type name ‘using’ using namespace std; ^ user.c:7:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘std’ using namespace std; ^ user.c: In function ‘main’: user.c:51:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long long unsigned int *’ [-Wformat=] fscanf(fin, "%d %d", &N, &K); ^ user.c:51:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long long unsigned int *’ [-Wformat=] user.c:55:12: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=] fprintf(fout, "%d\n",(facts[K] * ModuloInverse(facts[K-N-2], MOD)) % MOD); ^ user.c:76:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=] fprintf(fout, "%d\n",acc); ^ user.c:47:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &T); ^ user.c:51:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d %d", &N, &K); ^

Ceva nu functioneaza?