Borderou de evaluare (job #1244680)

Utilizator js3292618Andrei Mihai js3292618 Data 17 octombrie 2014 23:20:51
Problema Ridicare la putere in timp logaritmic Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘lgput’: user.c:22:20: warning: operation on ‘l’ may be undefined [-Wsequence-point] return ((l = lgput(n, p >> 1)) * l) % mod; ^ user.c: In function ‘main’: user.c:32:5: warning: format ‘%llu’ expects argument of type ‘long long unsigned int *’, but argument 2 has type ‘Int *’ [-Wformat=] scanf("%llu %llu", &n, &p); ^ user.c:32:5: warning: format ‘%llu’ expects argument of type ‘long long unsigned int *’, but argument 3 has type ‘Int *’ [-Wformat=] user.c:33:5: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] printf("%llu\n", lgput(n, p) % mod); ^ user.c:29:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen(IN, "r", stdin); ^ user.c:30:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen(OUT, "w", stdout); ^ user.c:32:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%llu %llu", &n, &p); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms244kbIncorect0
20ms248kbIncorect0
30ms252kbIncorect0
40ms252kbIncorect0
50ms244kbIncorect0
60ms248kbIncorect0
70ms244kbIncorect0
80ms244kbIncorect0
90ms248kbIncorect0
100ms248kbIncorect0
Punctaj total0

Ceva nu functioneaza?