Pagini recente » Borderou de evaluare (job #1736426) | Borderou de evaluare (job #1736639) | Borderou de evaluare (job #1749181) | Borderou de evaluare (job #952364) | Borderou de evaluare (job #1718092)
Borderou de evaluare (job #1718092)
Raport evaluator
Compilare:
user.cpp: In function ‘void f()’:
user.cpp:13:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%I64d",&n);
^
user.cpp:15:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%I64d%I64d",&v[i].x,&v[i].y);
^
user.cpp:15:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:28:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("Consumul minim = %I64d.\n",minim);
^
user.cpp:13:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d",&n);
^
user.cpp:15:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d%I64d",&v[i].x,&v[i].y);
^
user.cpp: In function ‘int main()’:
user.cpp:31:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{freopen ("calatorie.in","r",stdin);
^
user.cpp:32:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("calatorie.out","w",stdout);
^
user.cpp:34:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |