Borderou de evaluare (job #1595677)

Utilizator PraetorGrigorosoaia Florin Praetor Data 10 februarie 2016 14:30:23
Problema Granita Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:22:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long unsigned int*’ [-Wformat=] fscanf(in, "%d%d", &A[i], &B[i]); ^ user.cpp:22:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long unsigned int*’ [-Wformat=] user.cpp:20:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &nr_intervale); ^ user.cpp:22:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d%d", &A[i], &B[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms444kbOK10
20ms440kbOK10
34ms596kbOK10
48ms676kbOK10
512ms676kbOK10
68ms672kbOK10
78ms680kbOK10
88ms676kbOK10
98ms676kbOK10
108ms680kbOK10
Punctaj total100

Ceva nu functioneaza?