Borderou de evaluare (job #1505852)

Utilizator OlivianOlivian Dan Cretu Olivian Data 19 octombrie 2015 20:11: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:8:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=] scanf("%d %d",&n,&p); ^ user.cpp:8:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=] user.cpp:14:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=] printf("%d\n",x); ^ user.cpp:6: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:7: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:8:25: 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ăşit232kbTime limit exceeded.0
2Depăşit236kbTime limit exceeded.0
3Depăşit232kbTime limit exceeded.0
4Depăşit236kbTime limit exceeded.0
5Depăşit236kbTime limit exceeded.0
6Depăşit236kbTime limit exceeded.0
7Depăşit236kbTime limit exceeded.0
8Depăşit236kbTime limit exceeded.0
9Depăşit236kbTime limit exceeded.0
10Depăşit240kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?