Pagini recente » Borderou de evaluare (job #537023) | Borderou de evaluare (job #3107445) | Borderou de evaluare (job #2696841) | Borderou de evaluare (job #1572979) | Borderou de evaluare (job #1668209)
Borderou de evaluare (job #1668209)
Raport evaluator
Compilare:
user.cpp: In function ‘void Quick_sort(long int, long int)’:
user.cpp:29:9: warning: unused variable ‘i’ [-Wunused-variable]
int i;
^
user.cpp: In function ‘int main()’:
user.cpp:42:15: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:44:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&a[i]);
^
user.cpp:48:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d ",a[i]);
^
user.cpp:39:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("algsort.in","r",stdin);
^
user.cpp:40:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("algsort.out","w",stdout);
^
user.cpp:42:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:44:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 260kb | OK | 5 | 20 |
| 2 | 0ms | 264kb | OK | 5 |
| 3 | 0ms | 256kb | OK | 5 |
| 4 | 0ms | 256kb | OK | 5 |
| 5 | 0ms | 268kb | OK | 5 | 20 |
| 6 | 0ms | 264kb | OK | 5 |
| 7 | 0ms | 284kb | OK | 5 |
| 8 | 0ms | 268kb | OK | 5 |
| 9 | 72ms | 656kb | OK | 5 | 0 |
| 10 | 796ms | 672kb | OK | 5 |
| 11 | Depăşit | 796kb | Time limit exceeded. | 0 |
| 12 | 108ms | 672kb | OK | 5 |
| 13 | 276ms | 1632kb | OK | 5 | 0 |
| 14 | Depăşit | 1684kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 1640kb | Time limit exceeded. | 0 |
| 16 | 700ms | 1684kb | OK | 5 |
| 17 | 384ms | 2212kb | OK | 5 | 0 |
| 18 | Depăşit | 2188kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 2212kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 2356kb | Time limit exceeded. | 0 |
| Punctaj total | 40 |