Pagini recente » Borderou de evaluare (job #2817255) | Borderou de evaluare (job #2523754) | Borderou de evaluare (job #1250313) | Borderou de evaluare (job #2745256) | Borderou de evaluare (job #1635646)
Borderou de evaluare (job #1635646)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27: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:24: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:25: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:26: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:27: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:53:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&q);
^
user.cpp:56: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 | 72ms | 528kb | OK | 5 |
| 2 | 92ms | 544kb | OK | 5 |
| 3 | 96ms | 592kb | OK | 5 |
| 4 | 28ms | 484kb | OK | 5 |
| 5 | 84ms | 536kb | OK | 5 |
| 6 | 92ms | 576kb | OK | 5 |
| 7 | 76ms | 576kb | OK | 5 |
| 8 | 44ms | 536kb | OK | 5 |
| 9 | 44ms | 520kb | OK | 5 |
| 10 | 112ms | 664kb | OK | 5 |
| 11 | 64ms | 612kb | OK | 5 |
| 12 | 72ms | 644kb | OK | 5 |
| 13 | Depăşit | 644kb | Time limit exceeded. | 0 |
| 14 | Depăşit | 648kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 644kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 648kb | Time limit exceeded. | 0 |
| 17 | 196ms | 664kb | OK | 5 |
| 18 | 196ms | 668kb | OK | 5 |
| 19 | 196ms | 664kb | OK | 5 |
| 20 | 196ms | 664kb | OK | 5 |
| Punctaj total | 80 |