Pagini recente » Borderou de evaluare (job #1104999) | Borderou de evaluare (job #1563648) | Borderou de evaluare (job #2538653) | Borderou de evaluare (job #1611190) | Borderou de evaluare (job #1568016)
Borderou de evaluare (job #1568016)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("xspe.in","r",stdin);
^
user.cpp:10:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("xspe.out","w",stdout);
^
user.cpp:12:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:13:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&h[1]);//citeste prima valoare din vector
^
user.cpp:17:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&h[i]);// citeste urmatoarea val a vectorului
^
user.cpp:27:15: warning: ‘j’ may be used uninitialized in this function [-Wmaybe-uninitialized]
p[j]=i;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 276kb | OK | 10 |
| 2 | 0ms | 276kb | OK | 10 |
| 3 | 140ms | 2016kb | OK | 10 |
| 4 | 248ms | 3648kb | OK | 10 |
| 5 | 276ms | 3472kb | OK | 10 |
| 6 | 424ms | 5860kb | OK | 10 |
| 7 | 496ms | 6688kb | OK | 10 |
| 8 | 632ms | 8200kb | OK | 10 |
| 9 | 608ms | 8328kb | OK | 10 |
| 10 | 584ms | 8292kb | OK | 10 |
| Punctaj total | 100 |