Borderou de evaluare (job #1132132)

Utilizator radu_cebotariRadu Cebotari radu_cebotari Data 2 martie 2014 18:47:40
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:27:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int’ [-Wformat=] scanf("%d%d",a,b); ^ user.cpp:27:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int’ [-Wformat=] user.cpp:28:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d",putere(a,b)); ^ user.cpp:27:22: warning: ‘a’ is used uninitialized in this function [-Wuninitialized] scanf("%d%d",a,b); ^ user.cpp:27:22: warning: ‘b’ is used uninitialized in this function [-Wuninitialized]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms232kbKilled by signal 11(SIGSEGV).0
20ms232kbKilled by signal 11(SIGSEGV).0
30ms232kbKilled by signal 11(SIGSEGV).0
40ms236kbKilled by signal 11(SIGSEGV).0
50ms236kbKilled by signal 11(SIGSEGV).0
60ms232kbKilled by signal 11(SIGSEGV).0
70ms236kbKilled by signal 11(SIGSEGV).0
80ms236kbKilled by signal 11(SIGSEGV).0
90ms232kbKilled by signal 11(SIGSEGV).0
100ms232kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?