Borderou de evaluare (job #1351302)

Utilizator upb_veperUPB Brinzea Nemtuc Visalom upb_veper Data 21 februarie 2015 10:46:11
Problema Por Costel si Azerah Status done
Runda ONIS 2015, Runda 1 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:44:51: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=] fprintf(OUT, "%ld\n", putere(nr_par)-1); ^ user.cpp:46:53: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=] fprintf(OUT, "%ld\n", putere(nr_impar)-1); ^ user.cpp:48:85: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=] fprintf(OUT, "%ld\n", (putere(nr_impar-1) * putere(nr_par) - 1)%MODULO ); ^ user.cpp:26:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(IN, "%d", &t); ^ user.cpp:32:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(IN, "%d", &n); ^ user.cpp:36:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(IN, "%d", &k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1244ms268kbIncorect0
Punctaj total0

Ceva nu functioneaza?