Pagini recente » Borderou de evaluare (job #2239977) | Borderou de evaluare (job #2777028) | Borderou de evaluare (job #1968551) | Borderou de evaluare (job #1604164) | Borderou de evaluare (job #2352717)
Borderou de evaluare (job #2352717)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:17:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("permutari3.in","r",stdin);
^
main.cpp:18:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("permutari3.out","w",stdout);
^
main.cpp:20:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:22:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i].val);
^
main.cpp:29:10: warning: 'poz' may be used uninitialized in this function [-Wmaybe-uninitialized]
for(i=poz-1;i>=1;i--)
~^~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | Incorect | 0 |
2 | 5ms | 262kb | Incorect | 0 |
3 | 7ms | 262kb | OK | 10 |
4 | 16ms | 393kb | OK | 10 |
5 | 31ms | 655kb | OK | 10 |
6 | 35ms | 786kb | Incorect | 0 |
7 | 35ms | 917kb | OK | 10 |
8 | 50ms | 1179kb | OK | 10 |
9 | 53ms | 1310kb | OK | 10 |
10 | 3ms | 131kb | OK | 10 |
Punctaj total | 70 |