Pagini recente » Borderou de evaluare (job #2531550) | Borderou de evaluare (job #2841320) | Borderou de evaluare (job #1573696) | Borderou de evaluare (job #2776120) | Borderou de evaluare (job #1779885)
Borderou de evaluare (job #1779885)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %d",&q[i].a,&q[i].b);
^
user.cpp:26:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:20:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("linterv.in","r",stdin);
^
user.cpp:21:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("linterv.out","w",stdout);
^
user.cpp:22:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:24:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{scanf("%d",&n);
^
user.cpp:26:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&q[i].a,&q[i].b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 276ms | 480kb | Incorect | 0 |
Punctaj total | 0 |