Borderou de evaluare (job #1324977)

Utilizator VisanCosminVisan Tudor Cosmin VisanCosmin Data 22 ianuarie 2015 23:22:03
Problema Sticle Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%I64d",&n); ^ user.cpp:17:42: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] fprintf(g,"%ld\n",(int)log2f(n)+1); ^ user.cpp:12:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%ld",&t); ^ user.cpp:16:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%I64d",&n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbIncorect0
20ms272kbOK10
30ms280kbIncorect0
40ms276kbIncorect0
50ms276kbIncorect0
648ms272kbIncorect0
7Depăşit276kbTime limit exceeded.0
8Depăşit272kbTime limit exceeded.0
9Depăşit276kbTime limit exceeded.0
10Depăşit268kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?