Pagini recente » Borderou de evaluare (job #3002749) | Borderou de evaluare (job #1948335) | Borderou de evaluare (job #1613892) | Borderou de evaluare (job #3206416) | Borderou de evaluare (job #1692490)
Borderou de evaluare (job #1692490)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:41:58: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
else scanf("%d %d %d",&v[i].x,&v[i].y,&v[i].c);
^
user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("alegeri.in","r",stdin);
^
user.cpp:25:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("alegeri.out","w",stdout);
^
user.cpp:26:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&Test);
^
user.cpp:32:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&n,&m);
^
user.cpp:35:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&op);
^
user.cpp:38:47: 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:41:59: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
else scanf("%d %d %d",&v[i].x,&v[i].y,&v[i].c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 580ms | 3392kb | Incorect | 0 |
Punctaj total | 0 |