Borderou de evaluare (job #1647978)

Utilizator maria.sinteaMaria Sintea maria.sintea Data 10 martie 2016 23:10:15
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:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d\n", nr-1); ^ 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
30ms284kbOK5
40ms292kbOK5
50ms512kbIncorect0
624ms1200kbIncorect0
7376ms2408kbIncorect0
8Depăşit2816kbTime limit exceeded.0
9Depăşit3104kbTime limit exceeded.0
10Depăşit3196kbTime limit exceeded.0
11Depăşit5256kbTime limit exceeded.0
12Depăşit5372kbTime limit exceeded.0
13Depăşit5548kbTime limit exceeded.0
14Depăşit5836kbTime limit exceeded.0
15Depăşit6128kbTime limit exceeded.0
16Depăşit6128kbTime limit exceeded.0
17Depăşit8472kbTime limit exceeded.0
18Depăşit8768kbTime limit exceeded.0
19Depăşit9056kbTime limit exceeded.0
20Depăşit9056kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?