Borderou de evaluare (job #1285355)

Utilizator lianaliana tucar liana Data 7 decembrie 2014 10:47:31
Problema Fenrir Status done
Runda Algoritmiada 2015 - Runda 1, Seniori Compilator cpp | Vezi sursa
Scor 49

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:10:27: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("1 %ld\n",i); ^ user.cpp:13:35: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld %ld\n",i,j); ^ user.cpp:13:35: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] user.cpp:16:35: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld %ld\n",i,j); ^ user.cpp:16:35: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] user.cpp:19:35: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld %ld\n",i,j); ^ user.cpp:19:35: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] user.cpp:6:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("fenrir.in","r",stdin); ^ user.cpp:7:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("fenrir.out","w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms208kbOK49
Punctaj total49

Ceva nu functioneaza?