Borderou de evaluare (job #1238771)

Utilizator Alex_dudeDudescu Alexandru Alex_dude Data 7 octombrie 2014 18:00:45
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:11:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f,"%d",&a[i]); ^ user.cpp:24:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] if(l[i]==lm){fprintf(g,"%d ",a[i]);lm--;} ^ user.cpp:9:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&n); ^ user.cpp:11:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&a[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms232kbKilled by signal 11(SIGSEGV).00
20ms228kbKilled by signal 11(SIGSEGV).00
30ms248kbLungime incorecta!00
40ms244kbKilled by signal 11(SIGSEGV).00
50ms240kbKilled by signal 11(SIGSEGV).00
64ms228kbKilled by signal 11(SIGSEGV).00
78ms232kbKilled by signal 11(SIGSEGV).00
80ms224kbKilled by signal 11(SIGSEGV).00
90ms224kbKilled by signal 11(SIGSEGV).0
100ms220kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?