Borderou de evaluare (job #1766226)

Utilizator costin7856Antonesi Florean Costin costin7856 Data 27 septembrie 2016 18:39:13
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
10ms284kbOK5
20ms280kbOK5
30ms276kbOK5
40ms280kbOK5
50ms284kbOK5
60ms288kbOK5
70ms292kbOK5
80ms292kbOK5
90ms312kbOK5
100ms340kbOK5
114ms376kbOK5
128ms404kbOK5
134ms396kbKilled by signal 11(SIGSEGV).0
144ms436kbIncorect0
150ms236kbKilled by signal 11(SIGSEGV).0
160ms240kbKilled by signal 11(SIGSEGV).0
170ms240kbKilled by signal 11(SIGSEGV).0
180ms244kbKilled by signal 11(SIGSEGV).0
190ms236kbKilled by signal 11(SIGSEGV).0
200ms240kbKilled by signal 11(SIGSEGV).0
Punctaj total60

Ceva nu functioneaza?