Borderou de evaluare (job #1748597)

Utilizator andrei.arnautuAndi Arnautu andrei.arnautu Data 26 august 2016 14:40:43
Problema Superbec Status done
Runda Junior Challenge 2016 Runda 1 Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void readInput()’: user.cpp:33:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %s", &N, &M, S + 1); ^ user.cpp: In function ‘int main()’: user.cpp:194:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(scanf("%d", &T); T > 0; T--) { ^ user.cpp: In function ‘void runDP()’: user.cpp:181:50: warning: iteration 9u invokes undefined behavior [-Waggressive-loop-optimizations] dp[i][j] = dp[i][j - 1] + dp[i - 1][j]; ^ user.cpp:180:9: note: containing loop for(int j = 1; j < MAX_M; j++) { ^ user.cpp:175:36: warning: iteration 9u invokes undefined behavior [-Waggressive-loop-optimizations] dp[1][i] = dp[1][i - 1] + 1; ^ user.cpp:174:5: note: containing loop for(int i = 1; i < MAX_M; i++) { ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
128ms1836kbOK1020
236ms1832kbOK10
3268ms1832kbIncorect00
4148ms1836kbIncorect0
5268ms1832kbIncorect0
620ms1812kbKilled by signal 11(SIGSEGV).00
724ms1836kbKilled by signal 11(SIGSEGV).0
8Depăşit1924kbTime limit exceeded.00
936ms1928kbKilled by signal 11(SIGSEGV).0
1028ms1900kbKilled by signal 11(SIGSEGV).0
Punctaj total20

Ceva nu functioneaza?