Borderou de evaluare (job #2388313)

Utilizator LittleWhoFeraru Mihail LittleWho Data 25 martie 2019 21:45:22
Problema Hacker3 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 15

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:30:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i <= n; i++) { ~~^~~~ main.cpp:24:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("hacker3.in", "r", stdin); ^ main.cpp:25:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("hacker3.out", "w", stdout); ^ main.cpp:29:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%u", &n); ^ main.cpp:31:41: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%llu %llu", &a[i], &b[i]); ^ main.cpp:51:20: warning: iteration 31 invokes undefined behavior [-Waggressive-loop-optimizations] if (dp[n][i]) sol = min(sol, dp[n][i]); ~~~~~~~^ main.cpp:50:24: note: within this loop for (uint i = 0; i <= pmax; i++) { ~~^~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK55
22ms131kbOK55
32ms131kbOK55
42ms131kbIncorect00
56ms393kbIncorect00
66ms393kbIncorect00
77ms393kbIncorect00
86ms393kbIncorect00
93ms131kbWall time limit exceeded00
103ms131kbWall time limit exceeded0
113ms131kbWall time limit exceeded0
123ms131kbWall time limit exceeded0
133ms131kbWall time limit exceeded0
143ms131kbWall time limit exceeded0
153ms131kbWall time limit exceeded00
163ms131kbWall time limit exceeded0
173ms131kbWall time limit exceeded0
183ms131kbWall time limit exceeded0
193ms131kbWall time limit exceeded0
204ms131kbWall time limit exceeded0
Punctaj total15

Ceva nu functioneaza?