Borderou de evaluare (job #1391284)

Utilizator BaweeLazar Vlad Bawee Data 17 martie 2015 19:35:26
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:27: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
3Depăşit224kbTime limit exceeded.0
4Depăşit224kbTime limit exceeded.0
50ms248kbOK10
6Depăşit220kbTime limit exceeded.0
728ms248kbOK10
80ms248kbOK10
9Depăşit224kbTime limit exceeded.0
10Depăşit224kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?