Borderou de evaluare (job #1368237)

Utilizator atatomirTatomir Alex atatomir Data 2 martie 2015 15:20:54
Problema Sir4 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:98:48: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld %ld %ld %ld %ld",&x0,&a,&b,&m,&q); ^ user.cpp:98:48: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:98:48: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:98:48: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:98:48: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 6 has type ‘long long int*’ [-Wformat=] user.cpp:110:30: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%ld ",tmp); ^ user.cpp:116:30: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%ld ",tmp); ^ user.cpp:95:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sir4.in","r",stdin); ^ user.cpp:96:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sir4.out","w",stdout); ^ user.cpp:98:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld %ld %ld %ld",&x0,&a,&b,&m,&q); ^ user.cpp: In member function ‘void bNumber::getFile()’: user.cpp:29:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n",s+1); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms528kbOK10
212ms528kbOK10
38ms532kbOK10
4Depăşit516kbTime limit exceeded.0
5Depăşit512kbTime limit exceeded.0
6Depăşit516kbTime limit exceeded.0
7Depăşit516kbTime limit exceeded.0
8Depăşit484kbTime limit exceeded.0
9Depăşit516kbTime limit exceeded.0
10Depăşit516kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?