Borderou de evaluare (job #1506560)

Utilizator PikachuPikachu Pikachu Data 20 octombrie 2015 19:51:05
Problema Elementul majoritar Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void citeste(int&)’: user.cpp:15:48: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(buff, 1, DIM, stdin), poz = 0; ^ user.cpp:20:48: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(buff, 1, DIM, stdin), poz = 0; ^ user.cpp: In function ‘int main()’: user.cpp:25:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("elmaj.in", "r", stdin); ^ user.cpp:26:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("elmaj.out", "w", stdout); ^ user.cpp:44:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("elmaj.in", "r", stdin); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms228kbOK10
20ms228kbOK10
30ms232kbOK10
44ms236kbOK10
516ms228kbOK10
632ms232kbOK10
760ms232kbOK10
8128ms236kbOK10
9292ms236kbOK10
10300ms228kbOK10
Punctaj total100

Ceva nu functioneaza?