Borderou de evaluare (job #1213679)

Utilizator azkabancont-vechi azkaban Data 28 iulie 2014 19:26:17
Problema Tarabe Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:52:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d%d",&n,&k); ^ user.cpp:52:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:54:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d%d",&a,&b); ^ user.cpp:54:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:63:17: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d",sol); ^ user.cpp: In function ‘void openIOFiles()’: user.cpp:10:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tarabe.in","r",stdin); ^ user.cpp:11:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tarabe.out","w",stdout); ^ user.cpp: In function ‘int main()’: user.cpp:52:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&k); ^ user.cpp:54:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&a,&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms252kbOK10
20ms260kbOK10
38ms376kbOK10
444ms724kbOK10
556ms880kbOK10
672ms1036kbOK10
7Depăşit1780kbTime limit exceeded.0
8Depăşit1784kbTime limit exceeded.0
9Depăşit1776kbTime limit exceeded.0
10Depăşit1776kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?