Borderou de evaluare (job #1762891)

Utilizator UNIBUC_Costan_Iordache_MagureanuGangster Teddy Bears Trio UNIBUC_Costan_Iordache_Magureanu Data 24 septembrie 2016 11:04:51
Problema Mediana Status done
Runda ONIS 2016, Runda Finala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int solve()’: user.cpp:35:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ans + step < norm.size()) ^ user.cpp: In function ‘int main()’: user.cpp:58:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < norm.size(); i++) M[norm[i]] = i; ^ user.cpp:44:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("mediana.in", "r", stdin); ^ user.cpp:45:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("mediana.out", "w", stdout); ^ user.cpp:47:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ user.cpp:52:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &n, &m, &q); ^ user.cpp:53:67: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (i = 1; i <= n; i++) scanf("%d", &a[i]), norm.pb(a[i]); ^ user.cpp:54:67: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (i = 1; i <= m; i++) scanf("%d", &b[i]), norm.pb(b[i]); ^ user.cpp:64:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d", &l1, &r1, &l2, &r2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit7208kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?