Borderou de evaluare (job #1766222)

Utilizator costin7856Antonesi Florean Costin costin7856 Data 27 septembrie 2016 18:35:49
Problema Schi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:39:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d",&n); ^ user.cpp:45:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d",&pi[i]); ^ user.cpp: In function ‘void afisare()’: user.cpp:61:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d\n",pf[i]); ^ user.cpp: In function ‘void citire()’: user.cpp:39:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:45:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&pi[i]); ^ user.cpp: In function ‘int main()’: user.cpp:66:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("schi.in","r",stdin); ^ user.cpp:67:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("schi.out","w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms280kbOK5
20ms280kbOK5
30ms284kbOK5
40ms284kbOK5
50ms284kbOK5
60ms292kbOK5
70ms288kbOK5
80ms296kbOK5
90ms316kbOK5
100ms344kbOK5
114ms380kbOK5
128ms404kbOK5
134ms396kbKilled by signal 11(SIGSEGV).0
144ms444kbIncorect0
150ms236kbKilled by signal 11(SIGSEGV).0
160ms244kbKilled by signal 11(SIGSEGV).0
170ms236kbKilled by signal 11(SIGSEGV).0
180ms240kbKilled by signal 11(SIGSEGV).0
190ms244kbKilled by signal 11(SIGSEGV).0
200ms244kbKilled by signal 11(SIGSEGV).0
Punctaj total60

Ceva nu functioneaza?