Pagini recente » Borderou de evaluare (job #1679461) | Borderou de evaluare (job #311349) | Borderou de evaluare (job #68364) | Borderou de evaluare (job #1064899) | Borderou de evaluare (job #1537670)
Borderou de evaluare (job #1537670)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",n);
^
user.cpp:41:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
for(i=0;i<n;i++)printf("%d\n",x[i]);
^
user.cpp:31: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:32: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:33:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&n);
^
user.cpp:35:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=0;i<n;i++)scanf("%lld",&x[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 528kb | Incorect | 0 |
2 | 68ms | 1076kb | Incorect | 0 |
3 | 112ms | 2496kb | Incorect | 0 |
4 | 256ms | 4184kb | Incorect | 0 |
5 | 40ms | 912kb | Incorect | 0 |
6 | 24ms | 684kb | Incorect | 0 |
7 | 44ms | 996kb | Incorect | 0 |
8 | 0ms | 332kb | Incorect | 0 |
9 | 0ms | 316kb | Incorect | 0 |
10 | 0ms | 288kb | Incorect | 0 |
Punctaj total | 0 |