Borderou de evaluare (job #1637983)

Utilizator radu.leonardoThe Doctor radu.leonardo Data 7 martie 2016 20:21:43
Problema Strabunica Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:8:1: error: ‘ifstream’ does not name a type ifstream f("strabunica.in"); ^ user.cpp:9:1: error: ‘ofstream’ does not name a type ofstream g("strabunica.out"); ^ user.cpp: In function ‘int main()’: user.cpp:47:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf(" %d\n", &n); ^ user.cpp:50:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=] for(i=1; i<=n; i++) scanf("%d", &m[0][i]); ^ user.cpp:47:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d\n", &n); ^ user.cpp:50:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(i=1; i<=n; i++) scanf("%d", &m[0][i]); ^

Ceva nu functioneaza?