Borderou de evaluare (job #1543377)

Utilizator BLz0rDospra Cristian BLz0r Data 6 decembrie 2015 10:48:21
Problema Produse Status done
Runda Algoritmiada 2016 - Runda 1, Seniori Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:15:5: error: expected initializer before ‘long’ long long Sol = 0; ^ user.cpp:17:30: error: ‘D’ was not declared in this scope fscanf ( f, "%d%d", &N, &D ); ^ user.cpp:34:17: error: ‘Sol’ was not declared in this scope Sol++; ^ user.cpp:37:30: error: ‘Sol’ was not declared in this scope fprintf ( g, "%lld", Sol % Mod ); ^ user.cpp:20:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf ( f, "%d", &v[i] ); ^

Ceva nu functioneaza?