Borderou de evaluare (job #2464580)

Utilizator stefan_creastaStefan Creasta stefan_creasta Data 28 septembrie 2019 17:02:35
Problema Parc Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:44:39: warning: unused variable 'nr' [-Wunused-variable] int n, m, xp, yp, xg, yg, xf, yf, nr; ^~ main.cpp: In function 'void cc(bool, int&, int, int, int, LC*)': main.cpp:14:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &h); ^ main.cpp:19:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &a, &b); ^ main.cpp: In function 'int main()': main.cpp:47:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("parc.in", "r", stdin); ^ main.cpp:48:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("parc.out", "w", stdout); ^ main.cpp:49:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &xp, &yp); ^ main.cpp:50:39: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d", &xg, &yg, &xf, &yf); ^ main.cpp:68:14: warning: 'sol1' may be used uninitialized in this function [-Wmaybe-uninitialized] sol1 += y[i].val; ~~~~~^~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbBine !10
25ms131kbBine !10
32ms131kbBine !10
42ms131kbBine !10
52ms131kbBine !10
63ms131kbBine !10
75ms131kbBine !10
84ms131kbBine !10
912ms131kbBine !10
107ms131kbBine !10
Punctaj total100

Ceva nu functioneaza?