Borderou de evaluare (job #2431036)

Utilizator AlexPop28Pop Alex-Nicolae AlexPop28 Data 17 iunie 2019 18:27:48
Problema Mvc Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'void solve()': main.cpp:48:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:49:52: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] for (int i = 0; i < n; ++i) scanf("%d", cost + i); ^ main.cpp:51:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] int u, v; scanf("%d%d", &u, &v); ^ main.cpp: In function 'int main()': main.cpp:66:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("mvc.in", "r", stdin); ^ main.cpp:67:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("mvc.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
17ms2621kbOK10
286ms36880kbMemory limit exceeded0
37ms2621kbOK10
4110ms36880kbMemory limit exceeded0
518ms3014kbOK10
633ms3801kbOK10
7303ms31981kbTime limit exceeded0
8300ms20578kbTime limit exceeded0
9264ms11796kbOK10
10301ms7208kbTime limit exceeded0
Punctaj total50

Ceva nu functioneaza?