Pagini recente » Borderou de evaluare (job #1233950) | Borderou de evaluare (job #355464) | Borderou de evaluare (job #2315971) | Borderou de evaluare (job #1295023) | Borderou de evaluare (job #1439936)
Borderou de evaluare (job #1439936)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d",&t[j].x,&t[j].y);
^
user.cpp:39:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:32:26: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("1.in","r",stdin);
^
user.cpp:33:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("1.out","w",stdout);
^
user.cpp:34:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&nr);
^
user.cpp:36:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:39:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&t[j].x,&t[j].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 200kb | Fisier de iesire lipsa | 0 |
Punctaj total | 0 |