Borderou de evaluare (job #2497542)

Utilizator TudorCaloianCaloian Tudor-Ioan TudorCaloian Data 22 noiembrie 2019 20:25:00
Problema Diamant Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:15:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int i = 1; i <= n; i++) ^~~ main.cpp:30:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' fout << a[44000+x]; ^~~~ main.cpp:21:36: warning: iteration 12000 invokes undefined behavior [-Waggressive-loop-optimizations] a[k] = b[k-i*j] + b[k] + b[k+i*j]; ~~~~~~~^ main.cpp:19:38: note: within this loop for(int k = 88000; k >= 0; k--) ~~^~~~ In file included from /usr/include/string.h:635:0, from /usr/include/c++/6/cstring:42, from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:48, from main.cpp:1: In function 'void* memcpy(void*, const void*, size_t)', inlined from 'int main()' at main.cpp:18:40: /usr/include/x86_64-linux-gnu/bits/string3.h:53:71: warning: call to void* __builtin___memcpy_chk(void*, const void*, long unsigned int, long unsigned int) will always overflow destination buffer return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
16ms262kbKilled by Signal 110
28ms262kbKilled by Signal 110
317ms262kbKilled by Signal 110
47ms262kbKilled by Signal 110
56ms262kbKilled by Signal 110
66ms262kbKilled by Signal 110
76ms262kbKilled by Signal 110
87ms262kbKilled by Signal 110
96ms262kbKilled by Signal 110
106ms262kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?