Borderou de evaluare (job #2640248)

Utilizator LucaDantasLuca Dantas LucaDantas Data 5 august 2020 18:27:40
Problema Radare Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:45:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("radare.in", "r", stdin); ^ main.cpp:46:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("radare.out", "w", stdout); ^ main.cpp:47:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] int n, p; scanf("%d %d", &n, &p); ^ main.cpp:50:35: 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:55:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] rep(i,1,n+1) scanf("%d", &cost[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms262kbOK10
23ms262kbOK10
33ms262kbOK10
45ms1179kbOK10
57ms1835kbOK10
67ms1966kbOK10
7151ms36306kbOK10
8203ms42467kbTime limit exceeded0
9158ms42467kbOK10
10202ms42467kbTime limit exceeded0
Punctaj total80

Ceva nu functioneaza?