Borderou de evaluare (job #1682436)

Utilizator horiainfoTurcuman Horia horiainfo Data 10 aprilie 2016 11:43:14
Problema Comisia Status done
Runda Algoritmiada 2016 Runda 3 Seniori Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp:6:26: warning: integer overflow in expression [-Woverflow] #define INF 1000000000 * 200005 ^ user.cpp:12:14: note: in expansion of macro ‘INF’ ll riscMin = INF, poz, p, n; ^ user.cpp: In function ‘int main()’: user.cpp:16:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &n); ^ user.cpp:22:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &mus[i].risc); ^ user.cpp:15:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("comisia.in", "r", stdin); ^ user.cpp:16:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:19:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &mus[i].pers); ^ user.cpp:22:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &mus[i].risc); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms536kbOK1020
28ms540kbOK10
3Depăşit3780kbTime limit exceeded.00
4Depăşit3632kbTime limit exceeded.0
5Depăşit3788kbTime limit exceeded.0
6Depăşit3772kbTime limit exceeded.0
7Depăşit3636kbTime limit exceeded.00
8Depăşit3772kbTime limit exceeded.0
9Depăşit3780kbTime limit exceeded.0
10Depăşit3780kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?