Borderou de evaluare (job #1207047)

Utilizator azkabancont-vechi azkaban Data 11 iulie 2014 22:02:35
Problema Hashuri Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:15: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d",&n); ^ user.cpp:16:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d %d",&aux,&x); ^ user.cpp:16:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp: In function ‘void openfile()’: user.cpp:8:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hashuri.in","r",stdin); ^ user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hashuri.out","w",stdout); ^ user.cpp: In function ‘int main()’: user.cpp:14:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:16:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&aux,&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms252kbOK1010
20ms260kbOK1010
30ms252kbOK1010
456ms576kbOK1030
596ms1032kbOK10
6148ms3072kbOK10
7348ms3388kbOK1010
8884ms12736kbOK100
9Depăşit15208kbTime limit exceeded.0
10Depăşit12556kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?