Borderou de evaluare (job #2337113)

Utilizator marius0072scarlat marius stefan marius0072 Data 5 februarie 2019 21:44:01
Problema Magic2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:41:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i=1;i<=n;i++) ^~~ main.cpp:44:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' for (int i = 1; i <= 100000; ++i) ^~~ main.cpp:45:23: warning: iteration 10004 invokes undefined behavior [-Waggressive-loop-optimizations] if (freq[i] > freq[MagicSum]) ~~~~~~^ main.cpp:44:27: note: within this loop for (int i = 1; i <= 100000; ++i) ~~^~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbKilled by Signal 110
22ms131kbKilled by Signal 110
32ms131kbOK10
42ms131kbKilled by Signal 110
52ms131kbOK10
63ms131kbKilled by Signal 110
72ms131kbKilled by Signal 110
83ms131kbKilled by Signal 110
94ms131kbOK10
104ms131kbKilled by Signal 110
Punctaj total30

Ceva nu functioneaza?