Pagini recente » Borderou de evaluare (job #282821) | Borderou de evaluare (job #1080406) | Borderou de evaluare (job #8222) | Borderou de evaluare (job #349562) | Borderou de evaluare (job #1537659)
Borderou de evaluare (job #1537659)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:34:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:36:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for(i=0;i<n;i++)scanf("%d",&x[i]);
^
user.cpp:38:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",res);
^
user.cpp:39:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
for(i=1;i<=res;i++)printf("%d\n",a[i]);
^
user.cpp:32:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reguli.in","r",stdin);
^
user.cpp:33:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reguli.out","w",stdout);
^
user.cpp:34:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:36:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=0;i<n;i++)scanf("%d",&x[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 992kb | OK | 10 |
2 | 40ms | 2628kb | Incorect | 0 |
3 | 84ms | 6900kb | Incorect | 0 |
4 | 252ms | 11988kb | Incorect | 0 |
5 | 40ms | 2164kb | Incorect | 0 |
6 | 28ms | 1456kb | Incorect | 0 |
7 | 24ms | 2400kb | OK | 10 |
8 | 0ms | 396kb | Incorect | 0 |
9 | 0ms | 380kb | Incorect | 0 |
10 | 0ms | 284kb | OK | 10 |
Punctaj total | 30 |