Borderou de evaluare (job #1254826)

Utilizator danstefanDamian Dan Stefan danstefan Data 3 noiembrie 2014 16:21:42
Problema Principiul includerii si excluderii Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&n); ^ user.cpp:19:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d",&v[i],&x[i]); ^ user.cpp:19:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:7:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pinex.in","r",stdin); ^ user.cpp:9:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:19:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&v[i],&x[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms460kbOK1010
20ms460kbOK1010
30ms456kbOK1010
40ms524kbKilled by signal 11(SIGSEGV).00
50ms532kbKilled by signal 11(SIGSEGV).00
60ms528kbKilled by signal 11(SIGSEGV).00
70ms528kbKilled by signal 11(SIGSEGV).00
80ms528kbKilled by signal 11(SIGSEGV).00
90ms528kbKilled by signal 11(SIGSEGV).0
100ms528kbKilled by signal 11(SIGSEGV).0
Punctaj total30

Ceva nu functioneaza?