Borderou de evaluare (job #1766530)

Utilizator mihai.alphamihai craciun mihai.alpha Data 28 septembrie 2016 00:07:45
Problema Ecuatii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:49:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int (*)[5]’ [-Wformat=] scanf("%d",&V); ^ user.cpp:44:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ecuatii.in","r",stdin); ^ user.cpp:45:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ecuatii.out","w",stdout); ^ user.cpp:49:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&V); ^ user.cpp: In function ‘void solve()’: user.cpp:37:60: warning: array subscript is above array bounds [-Warray-bounds] if(search(V[3]*k*k*k + V[4]*i*i*i + V[5]*j*j*j)) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit8036kbTime limit exceeded.0
2Depăşit8032kbTime limit exceeded.0
3Depăşit8036kbTime limit exceeded.0
4Depăşit8036kbTime limit exceeded.0
5Depăşit8036kbTime limit exceeded.0
6Depăşit8036kbTime limit exceeded.0
7Depăşit8036kbTime limit exceeded.0
8Depăşit8036kbTime limit exceeded.0
9Depăşit8036kbTime limit exceeded.0
10Depăşit8036kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?