Pagini recente » Borderou de evaluare (job #596302) | Borderou de evaluare (job #3257491) | Borderou de evaluare (job #2173797) | Borderou de evaluare (job #352331) | Borderou de evaluare (job #1331688)
Borderou de evaluare (job #1331688)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d%d",&K,&R,&M);
^
user.cpp:39:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:39:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:41:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d",&v[i].x,&v[i].y);
^
user.cpp:41:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:42:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&N);
^
user.cpp:44:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d%d",&a[i].x,&a[i].y,&a[i].nr);
^
user.cpp:44:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:44:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:38:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("veve.in","r",stdin);
^
user.cpp:39:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&K,&R,&M);
^
user.cpp:41:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&v[i].x,&v[i].y);
^
user.cpp:42:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&N);
^
user.cpp:44:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&a[i].x,&a[i].y,&a[i].nr);
^
user.cpp:47:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("veve.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | Incorect | 0 |
2 | 0ms | 256kb | Incorect | 0 |
3 | 0ms | 260kb | Incorect | 0 |
4 | 0ms | 256kb | Incorect | 0 |
5 | 0ms | 260kb | Incorect | 0 |
6 | 0ms | 256kb | Incorect | 0 |
7 | 0ms | 252kb | Incorect | 0 |
8 | 0ms | 256kb | Incorect | 0 |
9 | 0ms | 256kb | Incorect | 0 |
10 | 0ms | 256kb | Incorect | 0 |
Punctaj total | 0 |