Borderou de evaluare (job #1680115)

Utilizator Player1Player 1 Player1 Data 8 aprilie 2016 15:26:59
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:18:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 1; i < nums.size(); i++){ ^ user.cpp:22:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j = 0; j < solutions.size(); j++){ ^ user.cpp:43:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j = 0; j < solutions[indexBig].size(); j++) ^ user.cpp:48:54: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < solutions[solutions.size() - 1].size(); i++) ^ user.cpp:10:43: warning: variable ‘indexMin’ set but not used [-Wunused-but-set-variable] int n, i, j, maxElem, minElem, indexMax, indexMin, biggestMin, indexBig; ^ user.cpp:8:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("scmax.in", "r", stdin); ^ user.cpp:9:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("scmax.out","w", stdout); ^ user.cpp:12:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &n); ^ user.cpp:14:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &nums[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms236kbKilled by signal 11(SIGSEGV).00
20ms232kbKilled by signal 11(SIGSEGV).00
30ms228kbKilled by signal 11(SIGSEGV).00
40ms232kbKilled by signal 11(SIGSEGV).00
50ms236kbKilled by signal 11(SIGSEGV).00
60ms236kbKilled by signal 11(SIGSEGV).00
70ms232kbKilled by signal 11(SIGSEGV).00
80ms232kbKilled by signal 11(SIGSEGV).00
90ms236kbKilled by signal 11(SIGSEGV).0
100ms232kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?