Borderou de evaluare (job #1264183)

Utilizator lucaignatescuIgnatescu Luca lucaignatescu Data 15 noiembrie 2014 16:29:00
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:16:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d",a); ^ user.cpp:7:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lgput.in","r",stdin); ^ user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lgput.out","w",stdout); ^ user.cpp:11:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&p); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit220kbTime limit exceeded.0
2Depăşit216kbTime limit exceeded.0
3Depăşit216kbTime limit exceeded.0
4Depăşit220kbTime limit exceeded.0
50ms252kbOK10
6Depăşit224kbTime limit exceeded.0
744ms248kbOK10
80ms248kbOK10
9Depăşit220kbTime limit exceeded.0
10Depăşit216kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?