Borderou de evaluare (job #1664566)

Utilizator CNITV_Sanduleac_Tascau_PopWes a Team CNITV_Sanduleac_Tascau_Pop Data 26 martie 2016 13:37:51
Problema Hektor Status done
Runda AGM 2016 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:15:29: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=] scanf("%I64u", &c[i]); ^ user.cpp:27:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (register int i = 0; i < fii[tata].size(); ++i) ^ user.cpp:38:34: warning: format ‘%lf’ expects argument of type ‘double’, but argument 2 has type ‘long long unsigned int’ [-Wformat=] printf("%lf\n", ct[b] / nr[b]); ^ user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hektor.in", "r", stdin); ^ user.cpp:11:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hektor.out", "w", stdout); ^ user.cpp:13:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d", &n, &m, &a, &b); ^ user.cpp:15:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%I64u", &c[i]); ^ user.cpp:18:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1208ms4880kbTe-am popit ca-n 2004!00
228ms1928kbTe-am popit ca-n 2004!0
388ms2944kbTe-am popit ca-n 2004!0
412ms1704kbTe-am popit ca-n 2004!0
5212ms4884kbTe-am popit ca-n 2004!0
64ms1532kbTe-am popit ca-n 2004!0
7Depăşit11540kbTime limit exceeded.0
8Depăşit4412kbTime limit exceeded.0
9Depăşit6144kbTime limit exceeded.0
10Depăşit6060kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?