Borderou de evaluare (job #1612765)

Utilizator andreea_zahariaAndreea Zaharia andreea_zaharia Data 25 februarie 2016 00:24:05
Problema Elementul majoritar Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:8:37: 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:9:39: 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:11:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &N); ^ user.cpp:13:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbOK10
20ms268kbOK10
30ms272kbOK10
40ms308kbOK10
512ms456kbOK10
628ms660kbOK10
756ms1048kbOK10
8112ms2224kbOK10
9260ms4172kbOK10
10280ms4164kbOK10
Punctaj total100

Ceva nu functioneaza?