Borderou de evaluare (job #1503740)

Utilizator jimcarterJim Carter jimcarter Data 16 octombrie 2015 20:43:32
Problema Ridicare la putere in timp logaritmic Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:27:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf ( f , "%I64d %I64d" , &N , &P ); ^ user.cpp:27:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:30:49: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf ( g , "%I64d\n" , toPower ( N , P ) ); ^ user.cpp:27:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf ( f , "%I64d %I64d" , &N , &P ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbIncorect0
20ms268kbIncorect0
30ms272kbIncorect0
40ms272kbIncorect0
50ms268kbIncorect0
60ms272kbIncorect0
70ms272kbIncorect0
80ms272kbIncorect0
90ms276kbIncorect0
100ms272kbIncorect0
Punctaj total0

Ceva nu functioneaza?