Pagini recente » Borderou de evaluare (job #301574) | Borderou de evaluare (job #1439814) | Borderou de evaluare (job #12117) | Borderou de evaluare (job #3278422) | Borderou de evaluare (job #1439942)
Borderou de evaluare (job #1439942)
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:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("teme.in","r",stdin);
^
user.cpp:33:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("teme.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 | 292ms | 348kb | OK | 100 |
Punctaj total | 100 |