Borderou de evaluare (job #1908074)

Utilizator RusuAlexeiRusu Alexei RusuAlexei Data 6 martie 2017 22:35:22
Problema Algoritmul lui Euclid Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:20:3: warning: format ‘%ld’ expects argument of type ‘long int *’, but argument 2 has type ‘long int’ [-Wformat=] scanf("%ld %ld", a, b); ^ user.c:20:3: warning: format ‘%ld’ expects argument of type ‘long int *’, but argument 3 has type ‘long int’ [-Wformat=] user.c:11:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("euclid2.in", "r", stdin); ^ user.c:12:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("euclid2.out", "w", stdout); ^ user.c:18:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld\n", &t); ^ user.c:20:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld", a, b); ^ user.c:20:8: warning: ‘a’ may be used uninitialized in this function [-Wmaybe-uninitialized] user.c:20:8: warning: ‘b’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms236kbKilled by signal 11(SIGSEGV).00
20ms232kbKilled by signal 11(SIGSEGV).00
30ms232kbKilled by signal 11(SIGSEGV).0
40ms236kbKilled by signal 11(SIGSEGV).00
50ms232kbKilled by signal 11(SIGSEGV).00
60ms240kbKilled by signal 11(SIGSEGV).00
70ms240kbKilled by signal 11(SIGSEGV).00
80ms236kbKilled by signal 11(SIGSEGV).0
90ms236kbKilled by signal 11(SIGSEGV).0
100ms232kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?