Borderou de evaluare (job #1533008)

Utilizator enedumitruene dumitru enedumitru Data 21 noiembrie 2015 22:04:40
Problema Mall Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:28:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld",&n,&m); ^ user.cpp:28:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:29:67: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] for(i=1;i<=n;i++) scanf("%ld%ld%ld%ld",&l[i],&e[i],&h[i],&c[i]); ^ user.cpp:29:67: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:29:67: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:29:67: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 5 has type ‘int*’ [-Wformat=] user.cpp: In function ‘void afisare()’: user.cpp:65:25: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld",a[n][m]); ^ user.cpp: In function ‘void citire()’: user.cpp:27:27: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(fin,"r",stdin); ^ user.cpp:28:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld%ld",&n,&m); ^ user.cpp:29:68: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(i=1;i<=n;i++) scanf("%ld%ld%ld%ld",&l[i],&e[i],&h[i],&c[i]); ^ user.cpp: In function ‘void afisare()’: user.cpp:64:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] { freopen(fout,"w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms328kbKilled by signal 11(SIGSEGV).0
20ms332kbKilled by signal 11(SIGSEGV).0
30ms304kbKilled by signal 11(SIGSEGV).0
40ms340kbKilled by signal 11(SIGSEGV).0
50ms320kbKilled by signal 11(SIGSEGV).0
60ms280kbKilled by signal 11(SIGSEGV).0
70ms280kbKilled by signal 11(SIGSEGV).0
80ms316kbKilled by signal 11(SIGSEGV).0
90ms308kbIncorect0
100ms280kbKilled by signal 11(SIGSEGV).0
110ms280kbKilled by signal 11(SIGSEGV).0
120ms284kbKilled by signal 11(SIGSEGV).0
130ms284kbKilled by signal 11(SIGSEGV).0
140ms284kbKilled by signal 11(SIGSEGV).0
150ms288kbKilled by signal 11(SIGSEGV).0
160ms284kbKilled by signal 11(SIGSEGV).0
170ms284kbKilled by signal 11(SIGSEGV).0
180ms284kbKilled by signal 11(SIGSEGV).0
190ms280kbKilled by signal 11(SIGSEGV).0
200ms284kbKilled by signal 11(SIGSEGV).0
210ms280kbKilled by signal 11(SIGSEGV).0
220ms284kbKilled by signal 11(SIGSEGV).0
230ms280kbKilled by signal 11(SIGSEGV).0
240ms284kbKilled by signal 11(SIGSEGV).0
250ms320kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?