Borderou de evaluare (job #1209445)

Utilizator daniel.amarieiDaniel Amariei daniel.amariei Data 17 iulie 2014 18:18:45
Problema Ridicare la putere in timp logaritmic Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.c: In function ‘fast_exp’: user.c:4:10: warning: type of ‘n’ defaults to ‘int’ [enabled by default] unsigned fast_exp(n, p, m) ^ user.c:4:10: warning: type of ‘p’ defaults to ‘int’ [enabled by default] user.c:4:10: warning: type of ‘m’ defaults to ‘int’ [enabled by default] user.c: In function ‘main’: user.c:25:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("lgput.in", "r", stdin); ^ user.c:26:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("lgput.out", "w", stdout); ^ user.c:28:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%u %u", &N, &P); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit224kbTime limit exceeded.0
2Depăşit220kbTime limit exceeded.0
3Depăşit220kbTime limit exceeded.0
4Depăşit224kbTime limit exceeded.0
50ms240kbIncorect0
6Depăşit220kbTime limit exceeded.0
78ms240kbIncorect0
80ms240kbOK10
9Depăşit220kbTime limit exceeded.0
10Depăşit220kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?