Borderou de evaluare (job #1647889)

Utilizator maria.sinteaMaria Sintea maria.sintea Data 10 martie 2016 22:38:33
Problema Pseudobil Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:11:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d\n%d %d %d\n", &p, &n, &k, &d); ^ user.cpp:11:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:11:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:11:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long int*’ [-Wformat=] user.cpp:33:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d %d\n", &x, &y); ^ user.cpp:33:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:53:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d\n", nr); ^ user.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pseudobil.in","r",stdin); ^ user.cpp:10:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pseudobil.out","w",stdout); ^ user.cpp:11:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n%d %d %d\n", &p, &n, &k, &d); ^ user.cpp:14:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld\n", &x, &y); ^ user.cpp:17:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld\n", &m); ^ user.cpp:20:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld", &x, &y); ^ user.cpp:33:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms284kbOK5
20ms288kbOK5
30ms276kbOK5
40ms296kbOK5
50ms508kbIncorect0
624ms1204kbIncorect0
7368ms2404kbIncorect0
8Depăşit2816kbTime limit exceeded.0
9Depăşit3108kbTime limit exceeded.0
10Depăşit3192kbTime limit exceeded.0
11Depăşit5256kbTime limit exceeded.0
12Depăşit5372kbTime limit exceeded.0
13Depăşit5552kbTime limit exceeded.0
14Depăşit5840kbTime limit exceeded.0
15Depăşit6136kbTime limit exceeded.0
16Depăşit6128kbTime limit exceeded.0
17Depăşit8476kbTime limit exceeded.0
18Depăşit8772kbTime limit exceeded.0
19Depăşit9060kbTime limit exceeded.0
20Depăşit9052kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?