Borderou de evaluare (job #1345286)

Utilizator SmarandaMaria Pandele Smaranda Data 17 februarie 2015 15:11:26
Problema Geometrie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:71:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘double*’ [-Wformat=] scanf ("%d%d", &P [i].x, &P [i].y); ^ user.cpp:71:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘double*’ [-Wformat=] user.cpp:57:31: warning: variable ‘sol1’ set but not used [-Wunused-but-set-variable] int n, i, k, l, r, g, j, sol1, sol2; ^ user.cpp:57:37: warning: variable ‘sol2’ set but not used [-Wunused-but-set-variable] int n, i, k, l, r, g, j, sol1, sol2; ^ user.cpp:60:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("geom.in", "r", stdin); ^ user.cpp:61:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("geom.out", "w", stdout); ^ user.cpp:63:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d", &n, &g); ^ user.cpp:71:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d", &P [i].x, &P [i].y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1696ms300kbWrong0
2696ms296kbWrong0
3696ms304kbWrong0
4696ms300kbWrong0
5720ms304kbWrong0
6Depăşit248kbTime limit exceeded.0
7Depăşit248kbTime limit exceeded.0
8Depăşit244kbTime limit exceeded.0
9Depăşit244kbTime limit exceeded.0
10Depăşit240kbTime limit exceeded.0
11Depăşit240kbTime limit exceeded.0
12Depăşit244kbTime limit exceeded.0
13Depăşit240kbTime limit exceeded.0
14Depăşit244kbTime limit exceeded.0
15Depăşit244kbTime limit exceeded.0
16Depăşit240kbTime limit exceeded.0
17Depăşit240kbTime limit exceeded.0
18Depăşit248kbTime limit exceeded.0
19Depăşit252kbTime limit exceeded.0
20Depăşit240kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?