Borderou de evaluare (job #2640246)

Utilizator LucaDantasLuca Dantas LucaDantas Data 5 august 2020 18:26:36
Problema Radare Status done
Runda Arhiva de probleme Compilator cpp-32 | Vezi sursa
Scor 70

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:43: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:44: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:45: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:48: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:53: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
12ms131kbOK10
23ms131kbOK10
33ms131kbOK10
44ms393kbOK10
55ms524kbOK10
66ms655kbOK10
7154ms24117kbOK10
8200ms39059kbTime limit exceeded0
9201ms33554kbTime limit exceeded0
10201ms41418kbTime limit exceeded0
Punctaj total70

Ceva nu functioneaza?