Pagini recente » Borderou de evaluare (job #647566) | Cod sursa (job #2501109) | Borderou de evaluare (job #301556) | Borderou de evaluare (job #1958690) | Borderou de evaluare (job #1748597)
Borderou de evaluare (job #1748597)
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++) {
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✗ | 1 | 28ms | 1836kb | OK | 10 | 20 |
✓ | 2 | 36ms | 1832kb | OK | 10 |
✗ | 3 | 268ms | 1832kb | Incorect | 0 | 0 |
✗ | 4 | 148ms | 1836kb | Incorect | 0 |
✓ | 5 | 268ms | 1832kb | Incorect | 0 |
✓ | 6 | 20ms | 1812kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
✗ | 7 | 24ms | 1836kb | Killed by signal 11(SIGSEGV). | 0 |
✗ | 8 | Depăşit | 1924kb | Time limit exceeded. | 0 | 0 |
✗ | 9 | 36ms | 1928kb | Killed by signal 11(SIGSEGV). | 0 |
✓ | 10 | 28ms | 1900kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 20 |