Borderou de evaluare (job #1648373)

Utilizator hegedusPaul Hegedus hegedus Data 11 martie 2016 09:48:35
Problema Suma4 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 11

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:73:26: warning: operation on ‘k’ may be undefined [-Wsequence-point] do {u[++k]=k*k+u[k-1];} while(u[k]<n); ^ user.cpp:73:26: warning: operation on ‘k’ may be undefined [-Wsequence-point] user.cpp:73:26: warning: operation on ‘k’ may be undefined [-Wsequence-point] user.cpp:78:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",smin); ^ user.cpp: In function ‘void citire()’: user.cpp:16:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("suma4.in","r",stdin); ^ user.cpp:17:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("suma4.out","w",stdout); ^ user.cpp:18:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:21:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
136ms460kbPrimul numar corect1
2Depăşit448kbTime limit exceeded.0
3Depăşit452kbTime limit exceeded.0
4Depăşit476kbTime limit exceeded.0
5Depăşit608kbTime limit exceeded.0
6Depăşit640kbTime limit exceeded.0
7Depăşit656kbTime limit exceeded.0
8Depăşit664kbTime limit exceeded.0
9Depăşit664kbTime limit exceeded.0
100ms452kbOK10
Punctaj total11

Ceva nu functioneaza?