Borderou de evaluare (job #1336292)

Utilizator handsonthewheelSandel Georgel handsonthewheel Data 7 februarie 2015 15:59:43
Problema Cmmmc Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void solve(long long unsigned int)’: user.cpp:40:20: warning: overflow in implicit constant conversion [-Woverflow] int SumMin=10000000000; ^ user.cpp:54:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (d+n/d<SumMin){ ^ user.cpp: In function ‘int main()’: user.cpp:76:16: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=] scanf ("%d", &x); ^ user.cpp:69:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("cmmmc.in", "r", stdin); ^ user.cpp:70:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("cmmmc.out", "w", stdout); ^ user.cpp:74:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &n); ^ user.cpp:76:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &x); ^ user.cpp: In function ‘int cmmmdc(int, int)’: user.cpp:13:8: warning: ‘r’ may be used uninitialized in this function [-Wmaybe-uninitialized] return r;} ^ user.cpp: In function ‘void solve(long long unsigned int)’: user.cpp:52:22: warning: ‘r’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (p/cmmmdc(d,n/d)==n){ ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms308kbKilled by signal 8(SIGFPE).0
20ms312kbKilled by signal 8(SIGFPE).0
30ms316kbOK!10
4Depăşit312kbTime limit exceeded.0
5Depăşit316kbTime limit exceeded.0
60ms312kbKilled by signal 8(SIGFPE).0
70ms316kbKilled by signal 8(SIGFPE).0
84ms308kbOK!10
912ms312kbOK!10
1012ms308kbOK!10
Punctaj total40

Ceva nu functioneaza?