Borderou de evaluare (job #1657296)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 20 martie 2016 12:58:12
Problema Gheizere Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:46:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("gheizere.in","r",stdin); ^ user.cpp:47:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("gheizere.out","w",stdout); ^ user.cpp:49:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &n, &m, &k); ^ user.cpp:50:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &f, &s); ^ user.cpp:97:15: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized] return (x - 1) * m + y; ^ user.cpp:54:13: note: ‘x’ was declared here int x , y , r , t , d; ^ user.cpp:97:26: warning: ‘y’ may be used uninitialized in this function [-Wmaybe-uninitialized] return (x - 1) * m + y; ^ user.cpp:54:17: note: ‘y’ was declared here int x , y , r , t , d; ^ user.cpp:56:33: warning: ‘r’ may be used uninitialized in this function [-Wmaybe-uninitialized] c[i] = code(x , y) * 10 + r; ^ user.cpp:57:21: warning: ‘t’ may be used uninitialized in this function [-Wmaybe-uninitialized] info[i] = t * 10 + d; ^ user.cpp:57:26: warning: ‘d’ may be used uninitialized in this function [-Wmaybe-uninitialized] info[i] = t * 10 + d; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms416kbKilled by signal 8(SIGFPE).00
20ms472kbKilled by signal 8(SIGFPE).0
30ms480kbKilled by signal 8(SIGFPE).0
40ms440kbKilled by signal 8(SIGFPE).0
50ms472kbKilled by signal 8(SIGFPE).00
60ms468kbKilled by signal 8(SIGFPE).0
70ms460kbKilled by signal 8(SIGFPE).0
80ms472kbKilled by signal 8(SIGFPE).00
90ms480kbKilled by signal 8(SIGFPE).0
100ms476kbKilled by signal 8(SIGFPE).0
Punctaj total0

Ceva nu functioneaza?