Borderou de evaluare (job #1239159)

Utilizator ArkinyStoica Alex Arkiny Data 8 octombrie 2014 14:18:15
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:10:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(file,"%d%d",&n,&p); ^ user.cpp:10:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:21:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(file,"%d",nr); ^ user.cpp:10:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(file,"%d%d",&n,&p); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit384kbTime limit exceeded.0
2Depăşit388kbTime limit exceeded.0
328ms412kbIncorect0
436ms412kbIncorect0
50ms416kbIncorect0
6Depăşit388kbTime limit exceeded.0
70ms412kbIncorect0
80ms416kbIncorect0
9Depăşit416kbTime limit exceeded.0
10Depăşit376kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?