Borderou de evaluare (job #1314633)

Utilizator alexandrionUNIBUC Marcu Alexandru alexandrion Data 12 ianuarie 2015 02:43:01
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 ‘main’: user.c:20:1: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long long int *’ [-Wformat=] fscanf(f,"%d %d",&n,&p); ^ user.c:20:1: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long long int *’ [-Wformat=] user.c:20:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d",&n,&p); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms8400kbKilled by signal 11(SIGSEGV).0
212ms8400kbKilled by signal 11(SIGSEGV).0
30ms236kbIncorect0
412ms8400kbKilled by signal 11(SIGSEGV).0
512ms8400kbKilled by signal 11(SIGSEGV).0
60ms240kbIncorect0
712ms8400kbKilled by signal 11(SIGSEGV).0
80ms244kbOK10
90ms236kbIncorect0
100ms244kbIncorect0
Punctaj total10

Ceva nu functioneaza?