Borderou de evaluare (job #1324982)

Utilizator VisanCosminVisan Tudor Cosmin VisanCosmin Data 22 ianuarie 2015 23:33:01
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:18:46: 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:19:45: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] else fprintf(g,"%ld\n",(int)log2f(n)); ^ 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
10ms276kbIncorect0
20ms272kbOK10
30ms276kbIncorect0
40ms272kbIncorect0
50ms280kbIncorect0
644ms280kbIncorect0
7Depăşit284kbTime limit exceeded.0
8Depăşit280kbTime limit exceeded.0
9Depăşit268kbTime limit exceeded.0
10Depăşit280kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?