Borderou de evaluare (job #1235898)

Utilizator paunmatei7FMI Paun Matei paunmatei7 Data 30 septembrie 2014 21:13:51
Problema Secvbest Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:8:32: warning: integer overflow in expression [-Woverflow] #define INF (1LL)*((1 << 31) - 1) ^ user.cpp:24:17: note: in expansion of macro ‘INF’ D2[i] = INF; ^ user.cpp:8:32: warning: integer overflow in expression [-Woverflow] #define INF (1LL)*((1 << 31) - 1) ^ user.cpp:26:17: note: in expansion of macro ‘INF’ Sp[n + 1] = INF; ^ user.cpp:8:32: warning: integer overflow in expression [-Woverflow] #define INF (1LL)*((1 << 31) - 1) ^ user.cpp:29:25: note: in expansion of macro ‘INF’ long long Min = INF; ^ user.cpp:8:32: warning: integer overflow in expression [-Woverflow] #define INF (1LL)*((1 << 31) - 1) ^ user.cpp:35:21: note: in expansion of macro ‘INF’ D2[i] = INF; ^ user.cpp:18:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secvbest.in", "r", stdin); ^ user.cpp:19:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secvbest.out", "w", stdout); ^ user.cpp:20:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &n, &k, &s); ^ user.cpp:22:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &a[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms308kbOK10
20ms332kbIncorect0
324ms624kbOK10
444ms968kbOK10
564ms1316kbOK10
6164ms3504kbIncorect0
7168ms3504kbOK10
8244ms3472kbOK10
9244ms3476kbOK10
10244ms3480kbOK10
Punctaj total80

Ceva nu functioneaza?