Borderou de evaluare (job #1398530)

Utilizator BaweeLazar Vlad Bawee Data 24 martie 2015 11:48:20
Problema Ridicare la putere in timp logaritmic Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 30

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 long int*’ [-Wformat=] fscanf(f,"%d%d",&x,&n); ^ user.cpp:10:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:33:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%d\n",p); ^ user.cpp:10:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d",&x,&n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit224kbTime limit exceeded.0
2Depăşit220kbTime limit exceeded.0
34ms248kbIncorect0
4Depăşit220kbTime limit exceeded.0
50ms248kbOK10
632ms244kbOK10
724ms244kbOK10
80ms248kbIncorect0
920ms248kbIncorect0
10Depăşit224kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?