Borderou de evaluare (job #1637991)

Utilizator radu.leonardoThe Doctor radu.leonardo Data 7 martie 2016 20:25:11
Problema Strabunica Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘long unsigned int findMin(int, int)’: user.cpp:17:14: warning: variable ‘ma’ set but not used [-Wunused-but-set-variable] int k=0, ma; ^ user.cpp: In function ‘int main()’: user.cpp:47:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf(" %d\n", &n); ^ user.cpp:50:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=] for(i=1; i<=n; i++) scanf("%d", &m[0][i]); ^ user.cpp:45:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] { freopen("strabunica.in","r",stdin); ^ user.cpp:46:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("strabunica.out","w",stdout); ^ user.cpp:47:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d\n", &n); ^ user.cpp:50:46: 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", &m[0][i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms348kbOK10
20ms380kbOK10
30ms532kbOK10
416ms4056kbOK10
536ms8520kbOK10
644ms15196kbOK10
792msDepăşitMemory limit exceeded.0
888msDepăşitMemory limit exceeded.0
992msDepăşitMemory limit exceeded.0
1088msDepăşitMemory limit exceeded.0
Punctaj total60

Ceva nu functioneaza?