Pagini recente » Borderou de evaluare (job #382272) | Borderou de evaluare (job #2756501) | Borderou de evaluare (job #391267) | Borderou de evaluare (job #360752) | Borderou de evaluare (job #1635426)
Borderou de evaluare (job #1635426)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short unsigned int*’ [-Wformat=]
for(j=1;j<=n;j++) scanf("%d",&x[j]);
^
user.cpp:16:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("qxy.in","r",stdin);
^
user.cpp:17:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("qxy.out","w",stdout);
^
user.cpp:18:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n); valtrec=sqrt(n);
^
user.cpp:19:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(j=1;j<=n;j++) scanf("%d",&x[j]);
^
user.cpp:45:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&q);
^
user.cpp:48:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&p1,&p2,&n1,&n2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 76ms | 532kb | OK | 5 |
2 | 92ms | 540kb | OK | 5 |
3 | 92ms | 592kb | OK | 5 |
4 | 28ms | 480kb | OK | 5 |
5 | 84ms | 536kb | OK | 5 |
6 | 92ms | 576kb | OK | 5 |
7 | 76ms | 580kb | OK | 5 |
8 | 44ms | 532kb | OK | 5 |
9 | 44ms | 516kb | OK | 5 |
10 | 112ms | 664kb | OK | 5 |
11 | 64ms | 608kb | OK | 5 |
12 | 72ms | 648kb | OK | 5 |
13 | Depăşit | 648kb | Time limit exceeded. | 0 |
14 | Depăşit | 644kb | Time limit exceeded. | 0 |
15 | Depăşit | 652kb | Time limit exceeded. | 0 |
16 | Depăşit | 644kb | Time limit exceeded. | 0 |
17 | 196ms | 672kb | OK | 5 |
18 | 196ms | 664kb | OK | 5 |
19 | 196ms | 664kb | OK | 5 |
20 | 196ms | 664kb | OK | 5 |
Punctaj total | 80 |