Borderou de evaluare (job #1647982)

Utilizator maria.sinteaMaria Sintea maria.sintea Data 10 martie 2016 23:11:12
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
10ms280kbOK5
20ms284kbOK5
30ms280kbOK5
40ms296kbOK5
50ms512kbIncorect0
624ms1200kbIncorect0
7368ms2404kbIncorect0
8Depăşit2812kbTime limit exceeded.0
9Depăşit3104kbTime limit exceeded.0
10Depăşit3196kbTime limit exceeded.0
11Depăşit5252kbTime limit exceeded.0
12Depăşit5372kbTime limit exceeded.0
13Depăşit5548kbTime limit exceeded.0
14Depăşit5840kbTime limit exceeded.0
15Depăşit6132kbTime limit exceeded.0
16Depăşit6132kbTime limit exceeded.0
17Depăşit8480kbTime limit exceeded.0
18Depăşit8772kbTime limit exceeded.0
19Depăşit9056kbTime limit exceeded.0
20Depăşit9060kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?