Borderou de evaluare (job #1474502)

Utilizator dimavascan94VascanDumitru dimavascan94 Data 22 august 2015 03:32:50
Problema Arbori de intervale Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:72:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] for (i = 0; i < n; ++i) scanf("%d", &arr[i]); ^ user.cpp:80:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] scanf("%d%d%d",&op,&a,&b); ^ user.cpp:80:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:70:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ user.cpp:72:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (i = 0; i < n; ++i) scanf("%d", &arr[i]); ^ user.cpp:80:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&op,&a,&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
124ms12484kbKilled by signal 11(SIGSEGV).00
224ms12488kbKilled by signal 11(SIGSEGV).00
324ms12484kbKilled by signal 11(SIGSEGV).00
424ms12488kbKilled by signal 11(SIGSEGV).00
524ms12484kbKilled by signal 11(SIGSEGV).00
624ms12484kbKilled by signal 11(SIGSEGV).00
724ms12484kbKilled by signal 11(SIGSEGV).0
824ms12484kbKilled by signal 11(SIGSEGV).0
924ms12484kbKilled by signal 11(SIGSEGV).0
1024ms12488kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?