Borderou de evaluare (job #1213700)

Utilizator azkabancont-vechi azkaban Data 28 iulie 2014 20:57:03
Problema Avarcolaci Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:15: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d",&t); ^ user.cpp:19:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d",&n); ^ user.cpp:23:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d",&aux); ^ user.cpp:26:60: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d\n",aux); ^ user.cpp: In function ‘void openIOFiles()’: user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("avarcolaci.in","r",stdin); ^ user.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("avarcolaci.out","w",stdout); ^ user.cpp: In function ‘int main()’: user.cpp:16:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ user.cpp:19:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:23:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&aux); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
152msDepăşitMemory limit exceeded.0
252msDepăşitMemory limit exceeded.0
352msDepăşitMemory limit exceeded.0
452msDepăşitMemory limit exceeded.0
552msDepăşitMemory limit exceeded.0
652msDepăşitMemory limit exceeded.0
752msDepăşitMemory limit exceeded.0
852msDepăşitMemory limit exceeded.0
952msDepăşitMemory limit exceeded.0
1052msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?