Borderou de evaluare (job #2392859)

Utilizator cezar.plescaCezar Plesca cezar.plesca Data 30 martie 2019 15:27:39
Problema Lupul Urias si Rau Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'long long int blana()': main.cpp:49:18: error: assignment of member 'std::pair<int, int>::second' in read-only object (*it).second+=L; ^ main.cpp: In function 'int main()': main.cpp:57:30: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("lupu.in","r",stdin); ^ main.cpp:58:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("lupu.out","w",stdout); ^ main.cpp:60:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d",&N,&X,&L); ^ main.cpp:64:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&d,&v); ^ Non zero exit status: 1

Ceva nu functioneaza?