Borderou de evaluare (job #1649203)

Utilizator BovisioNitica Ionut Bogdan Bovisio Data 11 martie 2016 12:49:14
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:7:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%Id64",&n); ^ user.cpp:9:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%Id64",&v[i]); ^ user.cpp:23:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(l,"%Id64\n",lenmax); ^ user.cpp:35:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(l,"%Id64 ",solutie[g]); ^ user.cpp:7:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%Id64",&n); ^ user.cpp:9:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%Id64",&v[i]); ^ user.cpp:24:14: warning: ‘k’ may be used uninitialized in this function [-Wmaybe-uninitialized] for(i=k-1;i>=0;i--) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms244kbKilled by signal 11(SIGSEGV).00
20ms248kbKilled by signal 11(SIGSEGV).00
30ms284kbLungime incorecta!00
40ms244kbKilled by signal 11(SIGSEGV).00
50ms272kbKilled by signal 11(SIGSEGV).00
60ms244kbKilled by signal 11(SIGSEGV).00
74ms252kbKilled by signal 11(SIGSEGV).00
80ms248kbKilled by signal 11(SIGSEGV).00
94ms248kbKilled by signal 11(SIGSEGV).0
100ms244kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?