Pagini recente » Borderou de evaluare (job #2981370) | Borderou de evaluare (job #848246) | Borderou de evaluare (job #2215541) | Borderou de evaluare (job #200958) | Borderou de evaluare (job #1621818)
Borderou de evaluare (job #1621818)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:24:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short unsigned int*’ [-Wformat=]
scanf("%d%d%d%d%d%d",&p,&m,&n,&ic,&jc,&nrv);
^
user.cpp:24:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=]
user.cpp:24:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short unsigned int*’ [-Wformat=]
user.cpp:24:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short unsigned int*’ [-Wformat=]
user.cpp:24:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short unsigned int*’ [-Wformat=]
user.cpp:24:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘short unsigned int*’ [-Wformat=]
user.cpp:30:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short unsigned int*’ [-Wformat=]
scanf("%d%d%d",&iv,&jv,&r);
^
user.cpp:30:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=]
user.cpp:30:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short unsigned int*’ [-Wformat=]
user.cpp:36:59: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short unsigned int*’ [-Wformat=]
else for(int x=1;x<=nrv;x++) scanf("%d%d%d",&iv,&jv,&r);
^
user.cpp:36:59: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=]
user.cpp:36:59: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short unsigned int*’ [-Wformat=]
user.cpp:37:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short unsigned int*’ [-Wformat=]
scanf("%d",&t);
^
user.cpp:40:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short unsigned int*’ [-Wformat=]
scanf("%d%d%d%d",&i1,&j1,&i2,&j2);
^
user.cpp:40:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=]
user.cpp:40:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short unsigned int*’ [-Wformat=]
user.cpp:40:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short unsigned int*’ [-Wformat=]
user.cpp:21:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cartite.in","r",stdin);
^
user.cpp:22:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cartite.out","w",stdout);
^
user.cpp:24:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d%d",&p,&m,&n,&ic,&jc,&nrv);
^
user.cpp:30:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&iv,&jv,&r);
^
user.cpp:36:60: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
else for(int x=1;x<=nrv;x++) scanf("%d%d%d",&iv,&jv,&r);
^
user.cpp:37:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:40:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&i1,&j1,&i2,&j2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 420kb | Fisier de intrare corupt! | 0 |
2 | 0ms | 416kb | Fisier de iesire corupt! | 0 |
3 | 0ms | 420kb | Fisier de intrare corupt! | 0 |
4 | 0ms | 416kb | Fisier de iesire corupt! | 0 |
5 | 0ms | 420kb | Fisier de intrare corupt! | 0 |
6 | 0ms | 420kb | Fisier de iesire corupt! | 0 |
7 | 0ms | 420kb | Fisier de intrare corupt! | 0 |
8 | 0ms | 416kb | Fisier de iesire corupt! | 0 |
9 | 0ms | 420kb | Fisier de intrare corupt! | 0 |
10 | 0ms | 424kb | Fisier de iesire corupt! | 0 |
11 | 0ms | 420kb | Fisier de intrare corupt! | 0 |
12 | 0ms | 416kb | Fisier de iesire corupt! | 0 |
13 | 0ms | 424kb | Fisier de intrare corupt! | 0 |
14 | 0ms | 420kb | Fisier de iesire corupt! | 0 |
15 | 0ms | 420kb | Fisier de intrare corupt! | 0 |
16 | 0ms | 420kb | Fisier de iesire corupt! | 0 |
17 | 0ms | 416kb | Fisier de intrare corupt! | 0 |
18 | 0ms | 420kb | Fisier de iesire corupt! | 0 |
19 | 0ms | 420kb | Fisier de intrare corupt! | 0 |
20 | 0ms | 420kb | Fisier de iesire corupt! | 0 |
Punctaj total | 0 |