Borderou de evaluare (job #1254831)

Utilizator danstefanDamian Dan Stefan danstefan Data 3 noiembrie 2014 16:24:07
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
10ms464kbOK1010
20ms464kbOK1010
30ms468kbOK1010
40ms536kbKilled by signal 11(SIGSEGV).00
50ms544kbKilled by signal 11(SIGSEGV).00
60ms540kbKilled by signal 11(SIGSEGV).00
70ms540kbKilled by signal 11(SIGSEGV).00
80ms536kbKilled by signal 11(SIGSEGV).00
90ms540kbKilled by signal 11(SIGSEGV).0
100ms536kbKilled by signal 11(SIGSEGV).0
Punctaj total30

Ceva nu functioneaza?