Borderou de evaluare (job #2361656)

Utilizator greelioGreenio Greely greelio Data 2 martie 2019 17:42:21
Problema Lupul Urias si Rau Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 76

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:16:33: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d %d %d", &n, &x, &l); ^ main.cpp:16:33: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] main.cpp:16:33: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=] main.cpp:3:11: warning: unused variable 'first' [-Wunused-variable] #define x first ^ main.cpp:18:13: note: in expansion of macro 'x' int x,y; scanf("%d %d", &a[i].y, &a[i].x); ^ main.cpp:4:11: warning: unused variable 'second' [-Wunused-variable] #define y second ^ main.cpp:18:15: note: in expansion of macro 'y' int x,y; scanf("%d %d", &a[i].y, &a[i].x); ^ main.cpp:4:11: warning: unused variable 'second' [-Wunused-variable] #define y second ^ main.cpp:30:12: note: in expansion of macro 'y' ll y=it->y; ^ main.cpp:14:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("lupu.in", "r", stdin); ^ main.cpp:15:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("lupu.out", "w", stdout); ^ main.cpp:16:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &n, &x, &l); ^ main.cpp:18:50: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] int x,y; scanf("%d %d", &a[i].y, &a[i].x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
110ms131kbOK4
22ms131kbOK4
32ms131kbOK4
43ms262kbOK4
53ms131kbOK4
62ms131kbOK4
73ms131kbOK4
83ms131kbOK4
94ms262kbOK4
104ms262kbOK4
115ms262kbOK4
1217ms786kbOK4
13152ms7340kbTime limit exceeded0
14129ms5505kbOK4
1555ms3014kbOK4
16113ms4849kbOK4
17135ms5636kbOK4
18147ms6291kbOK4
19129ms6029kbOK4
20153ms7340kbTime limit exceeded0
21153ms7340kbTime limit exceeded0
22150ms7340kbTime limit exceeded0
23152ms7340kbTime limit exceeded0
24152ms7340kbTime limit exceeded0
25114ms5505kbOK4
Punctaj total76

Ceva nu functioneaza?