Borderou de evaluare (job #1610969)

Utilizator eustatiuDima Eustatiu eustatiu Data 23 februarie 2016 21:01:06
Problema Algoritmul lui Euclid extins Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:27:39: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf ("%lld%lld%lld",&a,&b,&c); ^ user.cpp:27:39: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:27:39: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:32:48: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf ("%ld %ld\n",x*(c/d),y*(c/d)); ^ user.cpp:32:48: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=] user.cpp:21:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("euclid3.in","r",stdin); ^ user.cpp:22:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("euclid3.out","w",stdout); ^ user.cpp:23:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%ld",&t); ^ user.cpp:27:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%lld%lld%lld",&a,&b,&c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms232kbKilled by signal 8(SIGFPE).00
20ms228kbKilled by signal 8(SIGFPE).0
30ms236kbKilled by signal 8(SIGFPE).0
40ms252kbKilled by signal 8(SIGFPE).00
50ms232kbKilled by signal 8(SIGFPE).00
60ms256kbKilled by signal 8(SIGFPE).00
70ms256kbKilled by signal 8(SIGFPE).00
80ms256kbKilled by signal 8(SIGFPE).00
90ms256kbKilled by signal 8(SIGFPE).00
100ms252kbKilled by signal 8(SIGFPE).0
Punctaj total0

Ceva nu functioneaza?