Borderou de evaluare (job #1566989)

Utilizator RG1999one shot RG1999 Data 12 ianuarie 2016 20:53:30
Problema Hercule Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:20: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%lld",&t); ^ user.cpp:30:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d\n",m); ^ user.cpp:32:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d\n",m+1); ^ user.cpp:57:26: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld\n",-1); ^ user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hercule.in","r",stdin); ^ user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hercule.out","w",stdout); ^ user.cpp:9:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&t); ^ user.cpp:15:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
176ms280kbGresit.0
280ms284kbGresit.0
380ms288kbGresit.0
480ms288kbGresit.0
580ms284kbGresit.0
Punctaj total0

Ceva nu functioneaza?