Borderou de evaluare (job #1297652)

Utilizator andrei.arnautuAndi Arnautu andrei.arnautu Data 22 decembrie 2014 11:10:48
Problema Exp Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void Solve()’: user.cpp:65:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d",&x,&y); ^ user.cpp:65:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:65:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&x,&y); ^ user.cpp: In function ‘int Min(long long int)’: user.cpp:22:9: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized] int c , ok =0, r; ^ user.cpp: In function ‘int Max(long long int)’: user.cpp:42:9: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized] int c, r, ok=0; ^ user.cpp: In function ‘void Solve()’: user.cpp:22:9: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized] int c , ok =0, r; ^ user.cpp:69:35: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized] Sum += Max(x) * Max(y); ^ user.cpp:69:35: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized] user.cpp:22:9: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized] int c , ok =0, r; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms448kbIncorect0
20ms444kbIncorect0
30ms444kbIncorect0
40ms440kbIncorect0
50ms448kbIncorect0
60ms440kbIncorect0
70ms452kbIncorect0
80ms444kbIncorect0
90ms452kbIncorect0
100ms444kbIncorect0
Punctaj total0

Ceva nu functioneaza?